diff --git a/src/test/scala/scala/xml/ReuseNodesTest.scala b/src/test/scala/scala/xml/ReuseNodesTest.scala index 5c61d0e3f..d3b05a338 100644 --- a/src/test/scala/scala/xml/ReuseNodesTest.scala +++ b/src/test/scala/scala/xml/ReuseNodesTest.scala @@ -4,16 +4,17 @@ import scala.xml.transform._ import org.junit.Test import org.junit.Assert.assertTrue import org.junit.Assert.assertEquals +import org.junit.Assert.assertSame import org.junit.experimental.theories.Theories import org.junit.experimental.theories.Theory import org.junit.experimental.theories.DataPoints import org.junit.runner.RunWith /** - * This test verify that after the tranform, the resultant xml node + * This test verifies that after the transform, the resultant xml node * uses as many old nodes as possible. * * Three transformers class for case - - * One for orginal, one for modified, and one proposed which shows + * One for original, one for modified, and one proposed which shows * all are equivalent when it comes to reusing as many nodes as possible */ object ReuseNodesTest { @@ -72,7 +73,7 @@ class ReuseNodesTest { def transformReferentialEquality(rt:RuleTransformer) = { val original =