提交 5c055cbf 编写于 作者: H Haojun Liao

[td-1456] update test

上级 4454b077
...@@ -186,15 +186,17 @@ if $rows != 1 then ...@@ -186,15 +186,17 @@ if $rows != 1 then
return -1 return -1
endi endi
if $data02 != 'abc' then if $data01 != @abc@ then
print expect abc, actual $data02
return -1 return -1
endi endi
if $data03 != 1234.938400000 then if $data02 != 1234.938400000 then
return -1 return -1
endi endi
if $data04 != @2019-01-01 01:01:01.000@ then if $data03 != @19-01-01 01:01:01.000@ then
print expect 19-01-01 01:01:01.000, actual:$data03
return -1 return -1
endi endi
...@@ -203,3 +205,16 @@ sql select last_row(*), ts, 'abc', 123.981, tbname from m1 ...@@ -203,3 +205,16 @@ sql select last_row(*), ts, 'abc', 123.981, tbname from m1
if $rows != 1 then if $rows != 1 then
return -1 return -1
endi endi
if $data02 != @19-01-01 01:01:01.000@ then
return -1
endi
if $data03 != @abc@ then
return -1
endi
if $data04 != 123.981000000 then
print expect 123.981000000, actual: $data04
return -1
endi
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册