diff options
Diffstat (limited to 'awk/rawk/tests/core/test_failure.rawk')
-rw-r--r-- | awk/rawk/tests/core/test_failure.rawk | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/awk/rawk/tests/core/test_failure.rawk b/awk/rawk/tests/core/test_failure.rawk deleted file mode 100644 index adeafa5..0000000 --- a/awk/rawk/tests/core/test_failure.rawk +++ /dev/null @@ -1,16 +0,0 @@ -# Test that demonstrates failing assertions -$add = (x, y) -> x + y; - -BEGIN { - print "Testing assertion failures (this should fail):" - - # This should pass - result = add(2, 3) - expect_equal(result, 5, "add(2, 3) should return 5") - print "✓ This assertion should pass" - - # This should fail - result = add(2, 3) - expect_equal(result, 10, "add(2, 3) should return 10 (this will fail)") - print "This line should not be reached" -} \ No newline at end of file |