Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 committed May 8, 2019
1 parent c8fcac6 commit c3b1086
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions expression/builtin_time_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2333,18 +2333,18 @@ func (s *testEvaluatorSuite) TestConvertTz(c *C) {
Success bool
expect string
}{
//{"2004-01-01 12:00:00.111", "-00:00", "+12:34", true, "2004-01-02 00:34:00.111"},
//{"2004-01-01 12:00:00.11", "+00:00", "+12:34", true, "2004-01-02 00:34:00.11"},
//{"2004-01-01 12:00:00.11111111111", "-00:00", "+12:34", true, "2004-01-02 00:34:00.111111"},
//{"2004-01-01 12:00:00", "GMT", "MET", true, "2004-01-01 13:00:00"},
//{"2004-01-01 12:00:00", "-01:00", "-12:00", true, "2004-01-01 01:00:00"},
//{"2004-01-01 12:00:00", "-00:00", "+13:00", true, "2004-01-02 01:00:00"},
//{"2004-01-01 12:00:00", "-00:00", "-13:00", true, ""},
//{"2004-01-01 12:00:00", "-00:00", "-12:88", true, ""},
//{"2004-01-01 12:00:00", "+10:82", "GMT", false, ""},
//{"2004-01-01 12:00:00", "+00:00", "GMT", true, ""},
//{"2004-01-01 12:00:00", "GMT", "+00:00", true, ""},
//{20040101, "+00:00", "+10:32", true, "2004-01-01 10:32:00"},
{"2004-01-01 12:00:00.111", "-00:00", "+12:34", true, "2004-01-02 00:34:00.111"},
{"2004-01-01 12:00:00.11", "+00:00", "+12:34", true, "2004-01-02 00:34:00.11"},
{"2004-01-01 12:00:00.11111111111", "-00:00", "+12:34", true, "2004-01-02 00:34:00.111111"},
{"2004-01-01 12:00:00", "GMT", "MET", true, "2004-01-01 13:00:00"},
{"2004-01-01 12:00:00", "-01:00", "-12:00", true, "2004-01-01 01:00:00"},
{"2004-01-01 12:00:00", "-00:00", "+13:00", true, "2004-01-02 01:00:00"},
{"2004-01-01 12:00:00", "-00:00", "-13:00", true, ""},
{"2004-01-01 12:00:00", "-00:00", "-12:88", true, ""},
{"2004-01-01 12:00:00", "+10:82", "GMT", false, ""},
{"2004-01-01 12:00:00", "+00:00", "GMT", true, ""},
{"2004-01-01 12:00:00", "GMT", "+00:00", true, ""},
{20040101, "+00:00", "+10:32", true, "2004-01-01 10:32:00"},
{3.14159, "+00:00", "+10:32", true, ""},
}
fc := funcs[ast.ConvertTz]
Expand Down

0 comments on commit c3b1086

Please sign in to comment.