Skip to content

Commit

Permalink
fix(#3356): messages
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Sep 2, 2024
1 parent a950e42 commit 30e1dc2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ void dataizesConsoleWriteAsTrue() {

@Test
void writesToConsole(@TempDir final Path temp) throws IOException {
final String msg = "writes to posix console";
final String msg = "writes to console";
final File file = InputOutputTest.redirectedStdout(
temp,
() -> new Dataized(
Expand All @@ -308,7 +308,7 @@ void writesToConsole(@TempDir final Path temp) throws IOException {
).take()
);
MatcherAssert.assertThat(
"The 'console.write' should have written to posix console, but it didn't",
"The 'console.write' should have written to console, but it didn't",
new String(
Files.readAllBytes(Paths.get(file.getAbsolutePath())), StandardCharsets.UTF_8
),
Expand Down Expand Up @@ -346,7 +346,7 @@ void writesToConsoleSequentially(@TempDir final Path temp) throws IOException {

@Test
void readsFromConsole(@TempDir final Path temp) throws IOException {
final String content = "read from posix console";
final String content = "read from console";
final byte[] result = InputOutputTest.redirectedStdin(
temp,
content,
Expand All @@ -368,7 +368,7 @@ void readsFromConsole(@TempDir final Path temp) throws IOException {
@Test
void readsSequentiallyFromInputBlockViaConsole(@TempDir final Path temp)
throws IOException {
final String content = "read sequentially from posix console";
final String content = "read sequentially from console";
final byte[] result = InputOutputTest.redirectedStdin(
temp,
content,
Expand Down

0 comments on commit 30e1dc2

Please sign in to comment.