Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed May 8, 2024
2 parents 2f0d2e7 + 281d9ed commit d1e79ba
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions eo-runtime/src/test/java/org/eolang/MainTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@
* Test case for {@link Main}.
*
* @since 0.1
* @todo #2931:30min Enable all disabled test in the class. The tests were disabled because object
* tupled-stdout.eo was removed from eo-runtime tests because it wasn't working in CI.
* Need to refactor them and enable
*/
final class MainTest {

Expand All @@ -68,30 +65,27 @@ void printsHelp() {
}

@Test
@Disabled
void deliversCleanOutput() {
MatcherAssert.assertThat(
AtCompositeTest.TO_ADD_MESSAGE,
MainTest.exec("org.eolang.io.tupled-stdout", "Hello!"),
"Incorrect output when dataizing \"true\" object",
MainTest.exec("org.eolang.true"),
Matchers.stringContainsInOrder(
String.format("Hello!%n---%n"),
String.format("%n---%n"),
"true",
String.format("%n")
)
);
}

@Test
@Disabled
void executesJvmFullRun() {
MatcherAssert.assertThat(
AtCompositeTest.TO_ADD_MESSAGE,
MainTest.exec("--verbose", "org.eolang.io.tupled-stdout", "Hello, dude!"),
"Incorrect verbose output when dataizing \"false\" object",
MainTest.exec("--verbose", "org.eolang.false"),
Matchers.allOf(
Matchers.containsString("EOLANG"),
Matchers.containsString("Hello, "),
Matchers.containsString("\uD835\uDD3B( "),
Matchers.containsString("string")
Matchers.containsString("false")
)
);
}
Expand Down

1 comment on commit d1e79ba

@0pdd
Copy link

@0pdd 0pdd commented on d1e79ba May 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 2931-021739d9 disappeared from eo-runtime/src/test/java/org/eolang/MainTest.java), that's why I closed #2979. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.

Please sign in to comment.