diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/py/nft-test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/py/nft-test.py b/tests/py/nft-test.py index d5cb25b3..d4b22817 100755 --- a/tests/py/nft-test.py +++ b/tests/py/nft-test.py @@ -737,8 +737,8 @@ def rule_add(rule, filename, lineno, force_all_family_option, filename_path): if set_check_element(teoric_exit.rstrip(), rule_output.rstrip()) != 0: warning += 1 print_differences_warning(filename, lineno, - rule[0], rule_output, - cmd) + teoric_exit.rstrip(), + rule_output, cmd) if not force_all_family_option: return [ret, warning, error, unit_tests] else: |