#BUGFIX by sr
authorsr
Mon, 05 Dec 2016 15:39:39 +0100
changeset 1547 606e915e2216
parent 1545 c944d3739771
child 1548 c945639d2455
#BUGFIX by sr class: RegressionTests::DictionaryTest comment/format in: #testAssociationsSelect
RegressionTests__DictionaryTest.st
--- a/RegressionTests__DictionaryTest.st	Thu Nov 24 16:36:27 2016 +0100
+++ b/RegressionTests__DictionaryTest.st	Mon Dec 05 15:39:39 2016 +0100
@@ -28,25 +28,25 @@
 
 testAssociationsSelect
 
-	"(self selector: #testAssociationsSelect) run"
+        "(self selector: #testAssociationsSelect) run"
 
-	| answer d|
+        | answer d|
 
-	d _ Dictionary new.
-	d at: (Array with: #hello with: #world) put: #fooBar.
-	d at: Smalltalk put: #'Smalltalk is the key'.
-	d at: #Smalltalk put: Smalltalk.
+        d := Dictionary new.
+        d at: (Array with: #hello with: #world) put: #fooBar.
+        d at: Smalltalk put: #'Smalltalk is the key'.
+        d at: #Smalltalk put: Smalltalk.
 
-	answer _ d associationsSelect:
-		[:assoc | (assoc key == #Smalltalk) and: [assoc value == Smalltalk]].
-	self should: [answer isKindOf: Dictionary].
-	self should: [answer size == 1].
-	self should: [(answer at: #Smalltalk) == Smalltalk].
+        answer := d associationsSelect:
+                [:assoc | (assoc key == #Smalltalk) and: [assoc value == Smalltalk]].
+        self should: [answer isKindOf: Dictionary].
+        self should: [answer size == 1].
+        self should: [(answer at: #Smalltalk) == Smalltalk].
 
-	answer _ d associationsSelect:
-		[:assoc | (assoc key == #NoSuchKey) and: [assoc value == #NoSuchValue]].
-	self should: [answer isKindOf: Dictionary].
-	self should: [answer size == 0]
+        answer := d associationsSelect:
+                [:assoc | (assoc key == #NoSuchKey) and: [assoc value == #NoSuchValue]].
+        self should: [answer isKindOf: Dictionary].
+        self should: [answer size == 0]
 !
 
 testComma