RegressionTests__FuzzyMatcherTests.st
changeset 1791 7378294bb6c6
parent 1636 18f80ba74aa8
child 1792 6c1e59502722
--- a/RegressionTests__FuzzyMatcherTests.st	Wed Oct 11 13:56:58 2017 +0200
+++ b/RegressionTests__FuzzyMatcherTests.st	Wed Oct 11 14:16:38 2017 +0200
@@ -94,21 +94,17 @@
 !
 
 testEmptyPattern
+        | matcher |
 
-	| matcher |
-	
-	matcher := self newMatcher.
-	
-	self
-	
-		assert: matcher pattern isEmpty; 
-		
-		assert: matcher scoreFor: '' 		equals: 0;
-		assert: matcher scoreFor: 'abc' 	equals: 0;
-		assert: matcher scoreFor: '   ' 	equals: 0.
-			
-			
-	
+        matcher := self newMatcher.
+        
+        self
+        
+                assert: matcher pattern isEmpty; 
+                
+                assert: matcher scoreFor: ''            equals: 0;
+                assert: matcher scoreFor: 'abc'         equals: -3;
+                assert: matcher scoreFor: '   '         equals: 0.
 !
 
 testIsSeperator