diff options
author | João Valverde <j@v6e.pt> | 2023-01-03 02:34:33 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-01-03 12:46:13 +0000 |
commit | e990b25ea2c48821386514e3c1c50128f211dba1 (patch) | |
tree | 6e25581f81170b5d868a5a51d260c6655e6f7599 /test | |
parent | b8936160485b5e704b47871d24ab717b30a0de7d (diff) |
dfilter: Remove semcheck arithmetic commute argument
No one is using this so I'd like to explore other
options first to handle constants in arithmetic
expressions that lack type information.
Reverts 3ddb017a88797f520cda45961819c7084a0a5b29.
Diffstat (limited to 'test')
-rw-r--r-- | test/suite_dfilter/group_syntax.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/suite_dfilter/group_syntax.py b/test/suite_dfilter/group_syntax.py index 86e351928a..003aa142a5 100644 --- a/test/suite_dfilter/group_syntax.py +++ b/test/suite_dfilter/group_syntax.py @@ -268,17 +268,17 @@ class case_arithmetic(unittest.TestCase): checkDFilterCount(dfilter, 2) def test_add_4(self, checkDFilterFail): - error = 'Constant expression is invalid on the LHS' + error = 'Unknown type for left side of +' dfilter = "1 + 2 == frame.number" checkDFilterFail(dfilter, error) def test_add_5(self, checkDFilterFail): - error = 'Constant expression is invalid' + error = 'Unknown type for left side of +' dfilter = "1 + 2 == 2 + 1" checkDFilterFail(dfilter, error) def test_add_6(self, checkDFilterFail): - error = 'Constant expression is invalid' + error = 'Unknown type for left side of -' dfilter = "1 - 2" checkDFilterFail(dfilter, error) |