diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2009-04-14 15:23:46 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2009-04-14 15:23:46 +0000 |
commit | 6556ff6af36ddce6fb265c7a908cd90f0bf86599 (patch) | |
tree | c5739ba06aef1020fce1ed7e0385a4f9688ff7b1 /test/files/jvm | |
parent | fb93555a449c6fc7614b540c91932bcd4d93fd38 (diff) | |
download | scala-6556ff6af36ddce6fb265c7a908cd90f0bf86599.tar.gz scala-6556ff6af36ddce6fb265c7a908cd90f0bf86599.tar.bz2 scala-6556ff6af36ddce6fb265c7a908cd90f0bf86599.zip |
Added test for #777, by Alex Cruise
Diffstat (limited to 'test/files/jvm')
-rw-r--r-- | test/files/jvm/unittest_xml.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/jvm/unittest_xml.scala b/test/files/jvm/unittest_xml.scala index 6fdacbbf75..63375cd15a 100644 --- a/test/files/jvm/unittest_xml.scala +++ b/test/files/jvm/unittest_xml.scala @@ -92,6 +92,10 @@ object Test { val pp = new xml.PrettyPrinter(80,5) assertEquals("pretty print sorted attrib:"+pp.format(q), "<a a=\"2\" g=\"3\" j=\"2\" oo=\"2\"></a>", pp.format(q)) + <hi> + <there/> + <guys/> + </hi>.hashCode // Bug #777 } } |