Browse Source

once and only once

Herbert Vojčík 8 years ago
parent
commit
8109aca1f4
2 changed files with 0 additions and 30 deletions
  1. 0 23
      src/Compiler-Tests.js
  2. 0 7
      src/Compiler-Tests.st

+ 0 - 23
src/Compiler-Tests.js

@@ -1865,29 +1865,6 @@ messageSends: ["assert:equals:", "interpret:receiver:withArguments:"]
 }),
 $globals.ASTInterpreterTest);
 
-$core.addMethod(
-$core.method({
-selector: "should:return:",
-protocol: 'testing',
-fn: function (aString,anObject){
-var self=this;
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
-return $core.withContext(function($ctx1) {
-//>>excludeEnd("ctx");
-return self._should_receiver_return_(aString,self["@receiver"],anObject);
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
-}, function($ctx1) {$ctx1.fill(self,"should:return:",{aString:aString,anObject:anObject},$globals.ASTInterpreterTest)});
-//>>excludeEnd("ctx");
-},
-//>>excludeStart("ide", pragmas.excludeIdeData);
-args: ["aString", "anObject"],
-source: "should: aString return: anObject\x0a\x09^ self \x0a\x09\x09should: aString\x0a\x09\x09receiver: receiver\x0a\x09\x09return: anObject",
-referencedClasses: [],
-//>>excludeEnd("ide");
-messageSends: ["should:receiver:return:"]
-}),
-$globals.ASTInterpreterTest);
-
 
 
 $core.addClass('ASTDebuggerTest', $globals.ASTInterpreterTest, [], 'Compiler-Tests');

+ 0 - 7
src/Compiler-Tests.st

@@ -506,13 +506,6 @@ should: aString receiver: anObject return: aResult
 	^ self 
 		assert: (self interpret: aString receiver: receiver withArguments: #{})
 		equals: aResult
-!
-
-should: aString return: anObject
-	^ self 
-		should: aString
-		receiver: receiver
-		return: anObject
 ! !
 
 ASTInterpreterTest subclass: #ASTDebuggerTest