@@ -1570,6 +1570,17 @@ return self;}
}),
smalltalk.StringTest);
+smalltalk.addMethod(
+"_testPrintString",
+smalltalk.method({
+selector: "testPrintString",
+fn: function (){
+var self=this;
+smalltalk.send(self, "_assert_equals_", ["'test_string'", smalltalk.send("test_string", "_printString", [])]);
+return self;}
+}),
+smalltalk.StringTest);
+
smalltalk.addMethod(
"_testSize",
smalltalk.method({
@@ -2105,6 +2105,22 @@ referencedClasses: []
+category: 'tests',
+return self;},
+args: [],
+source: "testPrintString\x0a\x0a\x09self assert: '''test_string''' equals: 'test_string' printString.",
+messageSends: ["assert:equals:", "printString"],
+referencedClasses: []
@@ -1026,6 +1026,11 @@ testJoin
self assert: 'hello,world' equals: (',' join: #('hello' 'world'))
!
+testPrintString
+ self assert: '''test_string''' equals: 'test_string' printString.
+!
testSize
self assert: 'smalltalk' size equals: 9.
self assert: '' size equals: 0