Update unit tests for parser note and lazy list changes
parent
9d9523080e
commit
9c239694bf
|
@ -5,7 +5,7 @@ generic.standard effects classes.tuple classes.tuple.private arrays
|
|||
vectors strings compiler.units accessors classes.algebra calendar
|
||||
prettyprint io.streams.string splitting summary columns math.order
|
||||
classes.private slots slots.private eval see words.symbol
|
||||
compiler.errors ;
|
||||
compiler.errors parser.notes ;
|
||||
IN: classes.tuple.tests
|
||||
|
||||
TUPLE: rect x y w h ;
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
USING: lexer namespaces parser.notes source-files tools.test ;
|
||||
IN: parser.notes.tests
|
||||
|
||||
[ ] [ f lexer set f file set "Hello world" note. ] unit-test
|
|
@ -481,8 +481,6 @@ DEFER: blahy
|
|||
[ "IN: parser.tests USE: kernel TUPLE: blahy < tuple ; : blahy ( -- ) ; TUPLE: blahy < tuple ; : blahy ( -- ) ;" eval( -- ) ]
|
||||
[ error>> error>> def>> \ blahy eq? ] must-fail-with
|
||||
|
||||
[ ] [ f lexer set f file set "Hello world" note. ] unit-test
|
||||
|
||||
[ "CHAR: \\u9999999999999" eval( -- n ) ] must-fail
|
||||
|
||||
SYMBOLS: a b c ;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
! Copyright (C) 2005 Chris Double.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel lists.lazy tools.test strings math
|
||||
USING: kernel lists lists.lazy tools.test strings math
|
||||
sequences parser-combinators arrays math.parser unicode.categories ;
|
||||
IN: parser-combinators.tests
|
||||
|
||||
|
|
Loading…
Reference in New Issue