Blame tests/string_rb_simple.sh
|
Packit |
1422b7 |
# This file is part of the liblognorm project, released under ASL 2.0
|
|
Packit |
1422b7 |
|
|
Packit |
1422b7 |
. $srcdir/exec.sh
|
|
Packit |
1422b7 |
|
|
Packit |
1422b7 |
test_def $0 "simple rulebase via string"
|
|
Packit |
1422b7 |
execute_with_string 'rule=:%w:word%' 'test'
|
|
Packit |
1422b7 |
assert_output_json_eq '{ "w": "test" }'
|
|
Packit |
1422b7 |
|
|
Packit |
1422b7 |
cleanup_tmp_files
|