Skip to content

Commit cc16746

Browse files
committed
Updated coverage matcher strategy in unsafe tests
1 parent 5c8c4c5 commit cc16746

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utbot-framework/src/test/kotlin/org/utbot/examples/unsafe/UnsafeOperationsTest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ internal class UnsafeOperationsTest : UtValueTestCaseChecker(testClass = UnsafeO
1818
eq(1),
1919
{ r -> r!! > 0 },
2020
// Coverage matcher fails (branches: 0/0, instructions: 15/21, lines: 0/0)
21-
// TODO: check coverage calculation
22-
// coverage = DoNotCalculate
21+
// TODO: check coverage calculation: https://github.com/UnitTestBot/UTBotJava/issues/807
22+
coverage = DoNotCalculate
2323
)
2424
}
2525
}
@@ -32,8 +32,8 @@ internal class UnsafeOperationsTest : UtValueTestCaseChecker(testClass = UnsafeO
3232
eq(1),
3333
{ r -> r!! > 0 },
3434
// Coverage matcher fails (branches: 0/0, instructions: 15/21, lines: 0/0)
35-
// TODO: check coverage calculation
36-
// coverage = DoNotCalculate,
35+
// TODO: check coverage calculation: https://github.com/UnitTestBot/UTBotJava/issues/807
36+
coverage = DoNotCalculate,
3737
mockStrategy = MockStrategyApi.OTHER_CLASSES
3838
)
3939
}

0 commit comments

Comments
 (0)