expanded-filter UT

This commit is contained in:
John Kerl 2016-09-28 18:11:16 -04:00
parent 0762115e7c
commit 13d1cb0540
2 changed files with 14 additions and 0 deletions

View file

@ -12488,6 +12488,18 @@ mlr --from ./reg_test/input/abixy filter
a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697
mlr --from ./reg_test/input/abixy filter
local a = 5;
local b = 7;
a <= NR && NR <= b
a=wye,b=pan,i=5,x=0.5732889198020006,y=0.8636244699032729
a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697
a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694
mlr --from ./reg_test/input/abixy filter filter false
mlr filter: expressions must not also contain the "filter" keyword.
================================================================
DSL FUNCTIONAL TESTS

View file

@ -1005,6 +1005,8 @@ run_mlr --from $indir/abixy filter '
a <= NR && NR <= b
'
mlr_expect_fail --from $indir/abixy filter 'filter false'
# ----------------------------------------------------------------
announce DSL FUNCTIONAL TESTS