Ver código fonte

Small amberification.

Göran Krampe 12 anos atrás
pai
commit
a5a0ee1391
3 arquivos alterados com 7 adições e 7 exclusões
  1. 2 2
      js/Kernel-Tests.deploy.js
  2. 3 3
      js/Kernel-Tests.js
  3. 2 2
      st/Kernel-Tests.st

+ 2 - 2
js/Kernel-Tests.deploy.js

@@ -27,8 +27,8 @@ smalltalk.method({
 selector: 'testIncludesSubString',
 fn: function (){
 var self=this;
-smalltalk.send(self, "_assert_", [smalltalk.send("jtalk", "_includesSubString_", ["alk"])]);
-smalltalk.send(self, "_deny_", [smalltalk.send("jtalk", "_includesSubString_", ["zork"])]);
+smalltalk.send(self, "_assert_", [smalltalk.send("amber", "_includesSubString_", ["ber"])]);
+smalltalk.send(self, "_deny_", [smalltalk.send("amber", "_includesSubString_", ["zork"])]);
 return self;}
 }),
 smalltalk.StringTest);

+ 3 - 3
js/Kernel-Tests.js

@@ -38,11 +38,11 @@ selector: unescape('testIncludesSubString'),
 category: 'tests',
 fn: function (){
 var self=this;
-smalltalk.send(self, "_assert_", [smalltalk.send("jtalk", "_includesSubString_", ["alk"])]);
-smalltalk.send(self, "_deny_", [smalltalk.send("jtalk", "_includesSubString_", ["zork"])]);
+smalltalk.send(self, "_assert_", [smalltalk.send("amber", "_includesSubString_", ["ber"])]);
+smalltalk.send(self, "_deny_", [smalltalk.send("amber", "_includesSubString_", ["zork"])]);
 return self;},
 args: [],
-source: unescape('testIncludesSubString%0A%09self%20assert%3A%20%28%27jtalk%27%20includesSubString%3A%20%27alk%27%29.%0A%09self%20deny%3A%20%28%27jtalk%27%20includesSubString%3A%20%27zork%27%29.'),
+source: unescape('testIncludesSubString%0A%09self%20assert%3A%20%28%27amber%27%20includesSubString%3A%20%27ber%27%29.%0A%09self%20deny%3A%20%28%27amber%27%20includesSubString%3A%20%27zork%27%29.'),
 messageSends: ["assert:", "includesSubString:", "deny:"],
 referencedClasses: []
 }),

+ 2 - 2
st/Kernel-Tests.st

@@ -17,8 +17,8 @@ testStreamContents
 !
 
 testIncludesSubString
-	self assert: ('jtalk' includesSubString: 'alk').
-	self deny: ('jtalk' includesSubString: 'zork').
+	self assert: ('amber' includesSubString: 'ber').
+	self deny: ('amber' includesSubString: 'zork').
 !
 
 testEquality