diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-30 17:27:14 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-30 17:27:14 -0700 |
commit | 7de3be7d772ab32adb1a865450ba60567367064c (patch) | |
tree | 15e780cb853ef73746e6b71e66ef4bc980eb10fc /internal/parse_test.go | |
parent | 75a59f2b56982bc753d594a5af375b23ef786fdf (diff) |
parse: Simplify the stack states for arrays
We already have a wildcard, no need to invent a new state.
Diffstat (limited to 'internal/parse_test.go')
-rw-r--r-- | internal/parse_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/parse_test.go b/internal/parse_test.go index 91cd277..34977fb 100644 --- a/internal/parse_test.go +++ b/internal/parse_test.go @@ -51,7 +51,7 @@ func TestParserHandleRune(t *testing.T) { `a"`, // [" `a"`, // ["x `a`, // ["x" - `]`, // ["x", + `a?`, // ["x", `a"`, // ["x"," `a"`, // ["x","y `a`, // ["x","y" |