We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb4e4e8 commit ac9f769Copy full SHA for ac9f769
shared/src/test/scala/scala/xml/UtilityTest.scala
@@ -18,13 +18,13 @@ class UtilityTest {
18
<toomuchws/>
19
</foo>
20
val y = xml.Utility.trim(x)
21
- assertEquals(1, y match { case <foo><toomuchws/></foo> => 1 })
+ assertTrue(y match { case <foo><toomuchws/></foo> => true })
22
23
val x2 = <foo>
24
<toomuchws> a b b a </toomuchws>
25
26
val y2 = xml.Utility.trim(x2)
27
- assertEquals(2, y2 match { case <foo><toomuchws>a b b a</toomuchws></foo> => 2 })
+ assertTrue(y2 match { case <foo><toomuchws>a b b a</toomuchws></foo> => true })
28
}
29
30
@Test
0 commit comments