compiler/Dart__ScannerTests.st
changeset 6 06efdfe62106
parent 3 46c322c66a29
--- a/compiler/Dart__ScannerTests.st	Fri Jan 11 13:43:38 2013 +0000
+++ b/compiler/Dart__ScannerTests.st	Fri Jan 11 15:53:03 2013 +0000
@@ -19,6 +19,15 @@
             = #(#import #String $; #void #identifier $( $) ${ $} )
 
     "Created: / 11-01-2013 / 12:53:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+test_02
+
+    self assert:
+        (Dart::Scanner scan: 'a |= 1') asArray
+            = #()
+
+    "Created: / 11-01-2013 / 15:46:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !ScannerTests class methodsFor:'documentation'!