aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-assert-equal-int-float.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-fail-assert-equal-int-float.err.exp')
-rw-r--r--test/testdata/eval-fail-assert-equal-int-float.err.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-assert-equal-int-float.err.exp b/test/testdata/eval-fail-assert-equal-int-float.err.exp
new file mode 100644
index 0000000..c927e38
--- /dev/null
+++ b/test/testdata/eval-fail-assert-equal-int-float.err.exp
@@ -0,0 +1,8 @@
1error:
2 … while evaluating the condition of the assertion '(1 == 1.1)'
3 at /pwd/lang/eval-fail-assert-equal-int-float.nix:1:1:
4 1| assert 1 == 1.1;
5 | ^
6 2| throw "unreachable"
7
8 error: an integer with value '1' is not equal to a float with value '1.1'