Skip to content

Commit

Permalink
Improve display name of the test
Browse files Browse the repository at this point in the history
  • Loading branch information
theEvilReaper committed Dec 31, 2024
1 parent 0a4fb04 commit 022da7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.junit.jupiter.params.provider.ValueSource
@DisplayName("Test some functionalities from the CodeWriter class")
class CodeWriterTest {

@ParameterizedTest
@ParameterizedTest(name = "Test invalid space usage with amount {0}")
@ValueSource(ints = [0, -1])
fun `test invalid space usage`(amount: Int) {
assertThrows<IllegalStateException>("The amount of spaces must be greater than 0") {
Expand Down

0 comments on commit 022da7e

Please sign in to comment.