#QUALITY by cg
authorClaus Gittinger <cg@exept.de>
Tue, 12 Apr 2016 12:23:40 +0200
changeset 1389 e78489b6c0c1
parent 1388 3dcc665d3ad4
child 1390 c4936312f2c6
#QUALITY by cg class: RegressionTests::StringTests changed: #test60_hash
RegressionTests__StringTests.st
--- a/RegressionTests__StringTests.st	Sun Apr 10 17:38:34 2016 +0200
+++ b/RegressionTests__StringTests.st	Tue Apr 12 12:23:40 2016 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "{ Package: 'exept:regression' }"
 
 "{ NameSpace: RegressionTests }"
@@ -377,12 +375,11 @@
         u32Hash := s asUnicode32String hash.
 
         self assert: sHash == u16Hash
-             description: 'String and Unicode16String hashes differ!!'.
+             description: ('String and Unicode16String hashes differ on "%1" (%2)'
+                                bindWith:s with:s class name).
         self assert: sHash == u32Hash
-             description: 'String and Unicode32String hashes differ!!'.
-"/ rubbish...
-"/        self assert: u16Hash == u32Hash
-"/             description: 'Unicode16String and Unicode32String hashes differ!!'.
+             description: ('String and Unicode32String hashes differ on "%1" (%2)'
+                                bindWith:s with:s class name)
     ].
 
     tester value:'a'.