Skip to content

Commit 842728e

Browse files
build(deps): update weapon-regex from 1.3.6 to 1.4.1 (#2020)
1 parent 8e187b8 commit 842728e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

modules/core/src/test/scala/stryker4s/mutants/findmutants/MutantMatcherTest.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,9 +770,10 @@ class MutantMatcherTest extends Stryker4sSuite {
770770
tree.collect(sut.allMatchers).map(_(PlaceableTree(tree.body))).partitionEither(identity)
771771

772772
assertEquals(found.flatMap(_.toVector), List.empty)
773-
val (_, reason) = ignored.flatMap(_.toVector).loneElement
773+
val reason = ignored.flatMap(_.toVector).loneElement._2.asInstanceOf[RegexParseError]
774774

775-
assertEquals(reason, RegexParseError("[[]]", "[Error] Parser: Position 1:1, found \"[[]]\""))
775+
assertEquals(reason.pattern, "[[]]")
776+
assert(reason.message.contains("must end the string"))
776777
}
777778
}
778779
}

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ object Dependencies {
4747

4848
val testInterface = "1.0"
4949

50-
val weaponRegeX = "1.3.6"
50+
val weaponRegeX = "1.4.1"
5151

5252
}
5353

0 commit comments

Comments
 (0)