Blame tests/field_float_with_invalid_ruledef.sh
|
Packit |
1422b7 |
# added 2015-02-26 by singh.janmejay
|
|
Packit |
1422b7 |
# This file is part of the liblognorm project, released under ASL 2.0
|
|
Packit |
1422b7 |
. $srcdir/exec.sh
|
|
Packit |
1422b7 |
|
|
Packit |
1422b7 |
test_def $0 "float with invalid field-declaration"
|
|
Packit |
1422b7 |
|
|
Packit |
1422b7 |
add_rule 'rule=:%no:flo% foo'
|
|
Packit |
1422b7 |
execute '10.0 foo'
|
|
Packit |
1422b7 |
assert_output_json_eq '{ "originalmsg": "10.0 foo", "unparsed-data": "10.0 foo" }'
|
|
Packit |
1422b7 |
|
|
Packit |
1422b7 |
|
|
Packit |
1422b7 |
cleanup_tmp_files
|
|
Packit |
1422b7 |
|