Test a declared datatype over a column read, repeats counting as written, null alone on stdin, one leading slash, and the CLI's lone reference against the grammar

This commit is contained in:
2026-10-07 22:51:44 +02:00
committed by Lillem4n
parent 43c56b20b9
commit 1a022dbd79
11 changed files with 146 additions and 71 deletions
-1
View File
@@ -59,7 +59,6 @@ func TestNodeCompileErrors(t *testing.T) {
`[1, 2]`, // a choice of numbers
`5`, // unsupported node type
`[]`, // empty choice
`["a","a"]`, // a repeated item is a weight
`[{"format":"A","weight":-1},"B"]`, // negative weight
`[{"format":"A","weight":0},{"format":"B","weight":0}]`, // weights sum to zero
`[{"format":"A","weight":1e308},{"format":"B","weight":1e308}]`, // weights overflow to +Inf