Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Jul 17, 2024
1 parent 506d7ca commit b289523
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/empty_file/expected_results.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"status": "error",
"message": "error: Unknown module field\n ┌─ test/empty_file_test.gleam:10:13\n\n10 │ empty_file.hello_world()\n │ ^^^^^^^^^^^^\nThe module `empty_file` does not have a `hello_world` value."
"message": "warning: Unused imported module\n ┌─ test/empty_file_test.gleam:2:1\n\n2 │ import exercism/should\n │ ^^^^^^^^^^^^^^^^^^^^^^ This imported module is never used\nHint: You can safely remove it.\nwarning: Unused imported module\n ┌─ test/empty_file_test.gleam:3:1\n\n3 │ import empty_file\n │ ^^^^^^^^^^^^^^^^^ This imported module is never used\nHint: You can safely remove it.\nerror: Unknown module field\n ┌─ test/empty_file_test.gleam:10:13\n\n10 │ empty_file.hello_world()\n │ ^^^^^^^^^^^^\nThe module `empty_file` does not have a `hello_world` value."
}
2 changes: 1 addition & 1 deletion tests/syntax_error/expected_results.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"status": "error",
"message": "error: Syntax error\n ┌─ src/syntax_error.gleam:5:1\n\n5 │ }\n │ ^ I was not expecting this\nExpected one of: \n\"]\""
"message": "error: Syntax error\n ┌─ src/syntax_error.gleam:5:1\n\n5 │ }\n │ ^ I was not expecting this\nFound `}`, expected one of: \n- `]`"
}

0 comments on commit b289523

Please sign in to comment.