[td-1456] update test
This commit is contained in:
parent
4454b077ff
commit
5c055cbfcb
|
@ -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
|
||||||
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
|
Loading…
Reference in New Issue