@@ -1727,6 +1727,17 @@ return self;}
}),
smalltalk.SymbolTest);
+smalltalk.addMethod(
+"_testPrintString",
+smalltalk.method({
+selector: "testPrintString",
+fn: function (){
+var self=this;
+smalltalk.send(self, "_assert_equals_", ["#symbol", smalltalk.send(smalltalk.symbolFor("symbol"), "_printString", [])]);
+return self;}
+}),
+smalltalk.SymbolTest);
+
smalltalk.addMethod(
"_testSize",
smalltalk.method({
@@ -2322,6 +2322,22 @@ referencedClasses: []
+category: 'tests',
+return self;},
+args: [],
+source: "testPrintString\x0a\x0a\x09self assert: '#symbol' equals: #symbol printString.",
+messageSends: ["assert:equals:", "printString"],
+referencedClasses: []
@@ -1114,6 +1114,11 @@ testIsSymbolIsString
self assert: 'hello' isString
!
+testPrintString
+ self assert: '#symbol' equals: #symbol printString.
+!
testSize
self assert: #a size equals: 1.
self assert: #aaaaa size equals: 5