Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 8, 2024
1 parent f8ef89a commit c0b8fba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eo-runtime/src/test/eo/org/eolang/io/console-test.eo
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
# the output, so we just run it and see if it crashes.
[] > writes-to-console
console.write > @
"Hello, world!\n"
"Hello, console-test!\n"
2 changes: 1 addition & 1 deletion eo-runtime/src/test/eo/org/eolang/io/stdout-test.eo
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
# the output, so we just run it and see if it crashes.
[] > prints-to-console
stdout > @
"Hello, world!\n"
"Hello, stdout-test!\n"
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ void writesToConsoleSequentially(@Mktmp final Path temp) throws IOException {
new String(
Files.readAllBytes(Paths.get(file.getAbsolutePath())), StandardCharsets.UTF_8
),
Matchers.equalTo("HaHa")
Matchers.containsString("HaHa")
);
}

Expand Down

0 comments on commit c0b8fba

Please sign in to comment.