We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5492a60 commit 7cba619Copy full SHA for 7cba619
1 file changed
core/src/test/kotlin/org/evomaster/core/search/gene/sql/SqlMultidimensionalArrayGeneTest.kt
@@ -275,10 +275,8 @@ class SqlMultidimensionalArrayGeneTest {
275
fun testCopyValuesFromWithDifferentDimensions() {
276
val nonEmptyArray = sampleTwoDimensionalArrayOfIntegerGenes(2, 3)
277
val copiedArray = sampleOneDimensionalArrayOfIntegerGenes(2)
278
- assertThrows<IllegalArgumentException> {
279
- copiedArray.unsafeCopyValueFrom(nonEmptyArray)
280
- }
281
+ assertFalse(copiedArray.unsafeCopyValueFrom(nonEmptyArray))
282
}
283
284
@Test
0 commit comments