Test a weight of 0 drawn against nothing naming the drop, and null alone on stdin naming jq
This commit is contained in:
@@ -495,8 +495,8 @@ func TestRunTemplateMisuse(t *testing.T) {
|
||||
"42": "number",
|
||||
"42\n": "number",
|
||||
"true\n": "boolean",
|
||||
"null\n": `write ""`,
|
||||
" null ": `write ""`,
|
||||
"null\n": "jq",
|
||||
" null ": "jq",
|
||||
"{//sv_SE.person}": "write {/sv_SE.person}",
|
||||
} {
|
||||
code, out, errb := runOut(stdin, "--seed", "1")
|
||||
|
||||
Reference in New Issue
Block a user