Skip to content

Commit b1b02ab

Browse files
committed
Fix broken tests
1 parent a958390 commit b1b02ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

utbot-summary-tests/src/test/kotlin/examples/exceptions/SummaryExceptionClusteringExamplesTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ class SummaryExceptionClusteringExamplesTest : SummaryTestCaseGeneratorTest(
2323
"@utbot.methodUnderTest {@link org.utbot.examples.exceptions.ExceptionClusteringExamples#differentExceptions(int)}\n" +
2424
"@utbot.executesCondition {@code (i == 0): False},\n" +
2525
"{@code (i == 1): True}\n" +
26-
"@utbot.throwsException {@link org.utbot.examples.exceptions.MyCheckedException} after condition: {@code i == 1}"
26+
"@utbot.throwsException {@link org.utbot.examples.exceptions.MyCheckedException} after condition: i == 1"
2727
val summary3 = "@utbot.classUnderTest {@link ExceptionClusteringExamples}\n" +
2828
"@utbot.methodUnderTest {@link org.utbot.examples.exceptions.ExceptionClusteringExamples#differentExceptions(int)}\n" +
2929
"@utbot.executesCondition {@code (i == 0): False},\n" +
3030
"{@code (i == 1): False},\n" +
3131
"{@code (i == 2): True}\n" +
32-
"@utbot.throwsException {@link java.lang.IllegalArgumentException} after condition: {@code i == 2}"
32+
"@utbot.throwsException {@link java.lang.IllegalArgumentException} after condition: i == 2"
3333
val summary4 = "@utbot.classUnderTest {@link ExceptionClusteringExamples}\n" +
3434
"@utbot.methodUnderTest {@link org.utbot.examples.exceptions.ExceptionClusteringExamples#differentExceptions(int)}\n" +
3535
"@utbot.executesCondition {@code (i == 0): False},\n" +

utbot-summary-tests/src/test/kotlin/examples/structures/SummaryMinStackTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class SummaryMinStackTest : SummaryTestCaseGeneratorTest(
6464
val summary1 = "@utbot.classUnderTest {@link MinStack}\n" +
6565
"@utbot.methodUnderTest {@link org.utbot.examples.structures.MinStack#removeValue()}\n" +
6666
"@utbot.executesCondition {@code (size <= 0): True}\n" +
67-
"@utbot.throwsException {@link java.lang.RuntimeException} after condition: {@code size <= 0}"
67+
"@utbot.throwsException {@link java.lang.RuntimeException} after condition: size <= 0"
6868

6969
val summary2 = "@utbot.classUnderTest {@link MinStack}\n" +
7070
"@utbot.methodUnderTest {@link org.utbot.examples.structures.MinStack#removeValue()}\n" +

0 commit comments

Comments
 (0)