File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
plugins/src/test/kotlin/com/google/firebase/gradle/plugins Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1717package com.google.firebase.gradle.plugins
1818
1919import io.kotest.core.spec.style.FunSpec
20- import io.kotest.matchers.collections.beEmpty
21- import io.kotest.matchers.file.exist
22- import io.kotest.matchers.should
20+ import io.kotest.matchers.file.shouldExist
21+ import io.kotest.matchers.shouldBe
2322import java.io.File
2423import org.gradle.testkit.runner.GradleRunner
2524import org.junit.BeforeClass
@@ -39,9 +38,8 @@ class MakeReleaseNotesTests : FunSpec() {
3938 " firebase-storage/build/tmp/makeReleaseNotes/release_notes.md"
4039 )
4140
42- releaseNoteFile should exist()
43-
44- releaseNoteFile.readLines() diff expectedReleaseNoteFile.readLines() should beEmpty()
41+ releaseNoteFile.shouldExist()
42+ releaseNoteFile.readText() shouldBe expectedReleaseNoteFile.readText()
4543 }
4644
4745 private fun buildReleaseNotes () =
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import io.kotest.matchers.collections.shouldContainExactly
2222import io.kotest.matchers.collections.shouldHaveAtLeastSize
2323import io.kotest.matchers.collections.shouldHaveSize
2424import io.kotest.matchers.shouldBe
25- import io.kotest.matchers.string.shouldMatch
2625import java.io.File
2726import org.gradle.testkit.runner.GradleRunner
2827import org.junit.BeforeClass
You can’t perform that action at this time.
0 commit comments