Skip to content

Commit

Permalink
Ktfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssaruth committed Apr 10, 2024
1 parent c23f354 commit 5b9a169
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/test/kotlin/dartzee/screen/game/TestDartsGameScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import io.mockk.mockk
import io.mockk.verify
import org.junit.jupiter.api.Test
import java.awt.Frame
import org.junit.jupiter.api.Test

class TestDartsGameScreen : AbstractTest() {
@Test
Expand Down
6 changes: 3 additions & 3 deletions src/test/kotlin/dartzee/screen/game/TestTutorialPanel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import io.kotest.matchers.collections.shouldNotBeEmpty
import io.kotest.matchers.shouldBe
import io.mockk.mockk
import io.mockk.verify
import org.junit.jupiter.api.Test
import java.awt.Dimension
import javax.swing.JButton
import javax.swing.JLabel
import org.junit.jupiter.api.Test

class TestTutorialPanel: AbstractTest() {
class TestTutorialPanel : AbstractTest() {
@Test
fun `Should launch the game when ready button is pressed`() {
val parentWindow = mockk<DartsGameScreen>(relaxed = true)
Expand Down Expand Up @@ -112,4 +112,4 @@ class TestTutorialPanel: AbstractTest() {
panel.throwHumanRound(drtOuterTwenty(), drtOuterTwenty(), drtOuterOne())
label.text shouldBe "You win!"
}
}
}

0 comments on commit 5b9a169

Please sign in to comment.