#QUALITY by cg
authorClaus Gittinger <cg@exept.de>
Sat, 07 May 2016 13:19:40 +0200
changeset 1417 d624843fda05
parent 1416 da56fb6f9624
child 1418 17555e11c398
#QUALITY by cg class: RegressionTests::StringTests changed: #test60_hash
RegressionTests__StringTests.st
--- a/RegressionTests__StringTests.st	Mon May 02 17:16:11 2016 +0200
+++ b/RegressionTests__StringTests.st	Sat May 07 13:19:40 2016 +0200
@@ -398,6 +398,18 @@
     tester value:'12'.
     tester value:'boolean'.
 
+    "/ strings with 0-elements
+    tester value:('' copyWith:Character null).
+    tester value:('1' copyWith:Character null).
+    tester value:('12' copyWith:Character null).
+    tester value:('123' copyWith:Character null).
+    tester value:('1234' copyWith:Character null).
+    tester value:('12345' copyWith:Character null).
+    tester value:('123456' copyWith:Character null).
+    tester value:('1234567' copyWith:Character null).
+    tester value:('12345678' copyWith:Character null).
+    tester value:('123456789' copyWith:Character null).
+    
     String allInstancesDo:[:each| tester value:each].
     Symbol allInstancesDo:[:each| tester value:each].