git clone [email protected]:aimestereo/go-dsl-floor-division-issue.git
cd go-dsl-floor-division-issue
go mod tidy -v
go test -v -race -buildvcs ./...
=== RUN TestOperationParser
2024/11/03 19:03:20 Testing: +
main.Expr{
Op: "+",
}
2024/11/03 19:03:20 Testing: !=
main.Expr{
Op: "!=",
}
2024/11/03 19:03:20 Testing: &&
main.Expr{
Op: "&&",
}
2024/11/03 19:03:20 Testing: /
main.Expr{
Op: "/",
}
2024/11/03 19:03:20 Testing: //
main.Expr{
}
parser_test.go:29: Did not expect an error but got:
1:3: unexpected token "<EOF>"
--- FAIL: TestOperationParser (0.00s)
FAIL
FAIL dsl 0.224s
FAIL
Expecting railroad
pre-built as /tmp/bin/railroad
go run .
open open diagram/dsl.html