Skip to content

Commit

Permalink
fixed test for pretty toString() output
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuth committed Oct 2, 2024
1 parent f170076 commit abac4ae
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/test/kotlin/de/gmuth/ipp/core/IppAttributesGroupTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ import java.io.File
import java.io.PrintWriter
import java.time.ZoneId
import java.util.logging.Logger.getLogger
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
import kotlin.test.assertTrue
import kotlin.test.*

class IppAttributesGroupTests {

Expand Down Expand Up @@ -70,7 +67,7 @@ class IppAttributesGroupTests {

@Test
fun toStringValue() {
assertEquals("'operation-attributes-tag' 0 attributes", group.toString())
assertEquals("operation group (0 attributes)", group.toString())
}

@Test
Expand Down Expand Up @@ -139,7 +136,7 @@ class IppAttributesGroupTests {
}

@Test
fun writeAttributesWithoutTitle() {
fun writeTextWithoutTitle() {
group.writeText(PrintWriter(java.lang.System.out), null)
}

Expand Down

0 comments on commit abac4ae

Please sign in to comment.