-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
134bbf2
commit 150d27a
Showing
10 changed files
with
17 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/error/compiletime_error_closing_quote_expected/expected_results.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"version": 2, | ||
"status": "error", | ||
"message": "\u001b[1mhello_world.nim(2, 3) \u001b[0m\u001b[31mError: \u001b[0mclosing \" expected\u001b[36m\u001b[0m\u001b[0m\n", | ||
"message": "\u001b[1midentity.nim(2, 3) \u001b[0m\u001b[31mError: \u001b[0mclosing \" expected\u001b[36m\u001b[0m\u001b[0m\n", | ||
"tests": [] | ||
} |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...osing_quote_expected/test_hello_world.nim → ..._closing_quote_expected/test_identity.nim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import std/unittest | ||
import hello_world | ||
import identity | ||
|
||
# version 1.1.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
tests/pass/single_test/expected_test_hello_world_prepared.nim
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
func identity*(n: int): int = | ||
n |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import std/unittest | ||
import identity | ||
|
||
suite "Identity Function": | ||
test "identity function of 1": | ||
check identity(1) == 1 |