Skip to content

Commit d679332

Browse files
committed
[Infra] Fix plugin test comparator
Using `shouldMatch` actually matches using regexp, when what we want to compare are strings.
1 parent 546cbcb commit d679332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/src/test/kotlin/com/google/firebase/gradle/plugins/MoveUnreleasedChangesTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class MoveUnreleasedChangesTests : FunSpec() {
102102
val originalEntry = original.releases.first()
103103

104104
releasedEntry.content.changes shouldContainExactly originalEntry.content.changes
105-
releasedEntry.content.subtext shouldMatch originalEntry.content.subtext
105+
releasedEntry.content.subtext shouldBe originalEntry.content.subtext
106106
}
107107

108108
companion object {

0 commit comments

Comments
 (0)