aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/cond-cmp-numeric.exp
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/cond-cmp-numeric.exp')
-rw-r--r--unit-tests/cond-cmp-numeric.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/unit-tests/cond-cmp-numeric.exp b/unit-tests/cond-cmp-numeric.exp
index 4a97b6879e7a..d10262aa8823 100644
--- a/unit-tests/cond-cmp-numeric.exp
+++ b/unit-tests/cond-cmp-numeric.exp
@@ -6,6 +6,10 @@ CondParser_Eval: !(${:UNaN} == NaN)
lhs = "NaN", rhs = "NaN", op = ==
CondParser_Eval: 123 ! 123
make: "cond-cmp-numeric.mk" line 34: Malformed conditional (123 ! 123)
+CondParser_Eval: ${:U 123} < 124
+lhs = 123.000000, rhs = 124.000000, op = <
+CondParser_Eval: ${:U123 } < 124
+make: "cond-cmp-numeric.mk" line 50: String comparison operator must be either == or !=
make: Fatal errors encountered -- cannot continue
make: stopped in unit-tests
exit status 1