mirror of
https://github.com/safing/portbase
synced 2025-09-09 22:05:49 +00:00
Finish minimal feature set, start with tests
This commit is contained in:
parent
3d60431376
commit
06a34f931e
34 changed files with 651 additions and 346 deletions
|
@ -144,7 +144,6 @@ func testParseError(t *testing.T, queryText string, expectedErrorString string)
|
|||
func TestParseErrors(t *testing.T) {
|
||||
// syntax
|
||||
testParseError(t, `query`, `unexpected end at position 5`)
|
||||
testParseError(t, `query test`, `invalid prefix: test`)
|
||||
testParseError(t, `query test: where`, `unexpected end at position 17`)
|
||||
testParseError(t, `query test: where (`, `unexpected end at position 19`)
|
||||
testParseError(t, `query test: where )`, `unknown clause ")" at position 19`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue