diff --git a/tests/golden_tests/run_file/ops.bend b/tests/golden_tests/run_file/ops.bend new file mode 100644 index 00000000..002585da --- /dev/null +++ b/tests/golden_tests/run_file/ops.bend @@ -0,0 +1,8 @@ +def main: + return [ + 1 + 2 == 3, + 2 - 1 == 1, + -5 + -1 == -6, + -3 * -9 == +27, + 0.250 + 0.125 == 0.375, + ] diff --git a/tests/snapshots/run_file__ops.bend.snap b/tests/snapshots/run_file__ops.bend.snap new file mode 100644 index 00000000..51ac5efc --- /dev/null +++ b/tests/snapshots/run_file__ops.bend.snap @@ -0,0 +1,9 @@ +--- +source: tests/golden_tests.rs +input_file: tests/golden_tests/run_file/ops.bend +--- +NumScott: +[1, 1, +1, +1, 1] + +Scott: +[1, 1, +1, +1, 1]