Skip to content

Commit

Permalink
refactor(framework): change tie WinReason message
Browse files Browse the repository at this point in the history
  • Loading branch information
xeruf committed Jul 3, 2024
1 parent 975426a commit 22ace6e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugin/src/test/kotlin/sc/plugin2024/GameResultTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class GameResultTest: WordSpec({
</fragment>
</definition>
<scores/>
<winner regular="true" reason="Beide Teams sind gleichauf"/>
<winner regular="true" reason="Beide Spieler sind gleichauf"/>
</result>
""".trimIndent()
}
Expand Down Expand Up @@ -80,7 +80,7 @@ class GameResultTest: WordSpec({
</score>
</entry>
</scores>
<winner regular="true" reason="Beide Teams sind gleichauf"/>
<winner regular="true" reason="Beide Spieler sind gleichauf"/>
</result>
""".trimIndent()
}
Expand Down
4 changes: 2 additions & 2 deletions plugin2025/src/test/kotlin/sc/plugin2025/GameResultTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class GameResultTest: WordSpec({
</fragment>
</definition>
<scores/>
<winner regular="true" reason="Beide Teams sind gleichauf"/>
<winner regular="true" reason="Beide Spieler sind gleichauf"/>
</result>
""".trimIndent()
}
Expand Down Expand Up @@ -69,7 +69,7 @@ class GameResultTest: WordSpec({
</score>
</entry>
</scores>
<winner regular="true" reason="Beide Teams sind gleichauf"/>
<winner regular="true" reason="Beide Spieler sind gleichauf"/>
</result>
""".trimIndent()
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/main/framework/sc/shared/IWinReason.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ open class WinReason(override val message: String, override val isRegular: Boole
override fun equals(other: Any?) = other is IWinReason && other.message == this.message
}

object WinReasonTie: WinReason("Beide Teams sind gleichauf")
object WinReasonTie: WinReason("Beide Spieler sind gleichauf")

0 comments on commit 22ace6e

Please sign in to comment.