Use stram0.fspl so I don't have to rewrite every test
This commit is contained in:
parent
cd4e9608d0
commit
05bd29fc71
@ -28,7 +28,7 @@ func testReaderErr (
|
|||||||
errStart int,
|
errStart int,
|
||||||
input io.Reader,
|
input io.Reader,
|
||||||
) {
|
) {
|
||||||
address := entity.Address("input.fspl")
|
address := entity.Address("sream0.fspl")
|
||||||
|
|
||||||
ast := fsplParser.Tree { }
|
ast := fsplParser.Tree { }
|
||||||
lx, err := lexer.LexReader (
|
lx, err := lexer.LexReader (
|
||||||
@ -72,7 +72,7 @@ func testString (test *testing.T, input string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func testReader (test *testing.T, input io.Reader) {
|
func testReader (test *testing.T, input io.Reader) {
|
||||||
address := entity.Address("input.fspl")
|
address := entity.Address("stream0.fspl")
|
||||||
|
|
||||||
ast := fsplParser.Tree { }
|
ast := fsplParser.Tree { }
|
||||||
lx, err := lexer.LexReader (
|
lx, err := lexer.LexReader (
|
||||||
|
Loading…
Reference in New Issue
Block a user