Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.

Commit 0cf50b8

Browse files
committed
Update golden tests.
1 parent 8a92d1a commit 0cf50b8

27 files changed

Lines changed: 91 additions & 19 deletions

‎examples/out/aoc-24/day-01/part_01.out.txt‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎examples/out/hello_world.out.txt‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎examples/out/list.out.txt‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎examples/out/math_demos.out.txt‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎examples/out/pair.out.txt‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎tests/diagnostics/type_error.lbd‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(print (add "hello" 5))

‎tests/diagnostics/type_error.out‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ERROR: Invalid inputs to native function `add`.
2+
`add` signature: Float -> Float -> Float
3+
+- /home/nosferatu/Projects/lambda-discipline/tests/diagnostics/type_error.lbd:7..7
4+
|
5+
1 | (print (add "hello" 5))
6+
| ^
7+
|
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a: Number = 1;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
ERROR: Unexpected character `;`.
2+
+- /home/nosferatu/Projects/lambda-discipline/tests/diagnostics/unexpected_token.lbd:13..13
3+
|
4+
1 | a: Number = 1;
5+
| ^
6+
|
7+
+- NOTE: While parsing `/home/nosferatu/Projects/lambda-discipline/tests/diagnostics/unexpected_token.lbd`.
8+
+- NOTE: While lexing `/home/nosferatu/Projects/lambda-discipline/tests/diagnostics/unexpected_token.lbd`.

‎tests/ignore_tests.list‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
examples/std.lbd
2-
examples/test.lbd
3-
examples/aoc-24/day-01/part_02.lbd

0 commit comments

Comments
 (0)