Fix PEG tests for multiline changes

db4
Slava Pestov 2008-09-25 03:37:48 -05:00
parent 583673afa8
commit 736974fe15
2 changed files with 3 additions and 6 deletions

View File

@ -40,8 +40,7 @@ function foldl(f, initial, seq) {
for(var i=0; i< seq.length; ++i)
initial = f(initial, seq[i]);
return initial;
}
"> main \ javascript rule (parse) remaining>> length zero?
}"> main \ javascript rule (parse) remaining>> length zero?
] unit-test
{ t } [
@ -51,7 +50,6 @@ ParseState.prototype.from = function(index) {
r.cache = this.cache;
r.length = this.length - index;
return r;
}
"> main \ javascript rule (parse) remaining>> length zero?
}"> main \ javascript rule (parse) remaining>> length zero?
] unit-test

View File

@ -57,8 +57,7 @@ BEGIN
CALL square;
x := x + 1;
END
END.
"> main \ pl0 rule (parse) remaining>> empty?
END."> main \ pl0 rule (parse) remaining>> empty?
] unit-test
{ f } [