Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some broken tests #91

Merged
merged 3 commits into from
Dec 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ __pycache__/
# Nim
_*
spec/nim/tests/bin

# Rust compiled code, cargo and rls data
spec/rust/target/
2 changes: 1 addition & 1 deletion formats_err/attr_bad_key.ksy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /seq/1/blah: unknown key found, expected: consume, contents, doc, eos-error, id, if, include, parent, process, repeat, size, size-eos, terminator, type
# /seq/1/blah: unknown key found, expected: consume, contents, doc, doc-ref, eos-error, id, if, include, pad-right, parent, process, repeat, size, size-eos, terminator, type, valid
meta:
id: attr_bad_key
endian: le
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_unbalanced.ksy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /seq/0: parsing expression '(1 + 5' failed on 1:1, expected "not" ~ not_test | comparison
# /seq/0: parsing expression '(1 + 5' failed on 1:1, expected "not" ~ !(namePart) ~ not_test | comparison
meta:
id: expr_unbalanced
seq:
Expand Down
2 changes: 1 addition & 1 deletion formats_err/meta_bad_key.ksy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /meta/foo: unknown key found, expected: application, encoding, endian, file-extension, id, ks-debug, ks-version, license, title
# /meta/foo: unknown key found, expected: application, bit-endian, encoding, endian, file-extension, id, imports, ks-debug, ks-opaque-types, ks-version, license, tags, title, xref
meta:
id: meta_bad_key
foo: bad_key
2 changes: 1 addition & 1 deletion formats_err/params_call_short_malformed.ksy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /seq/0: parsing expression '2 + 3, ' failed on 1:6
# /seq/0: parsing expression '2 + 3, ' failed on 1:6, expected CharsWhile(Set( , n)) | "\\\n" | End
meta:
id: params_call_short_malformed
seq:
Expand Down
2 changes: 1 addition & 1 deletion formats_err/repeat_incompatible1.ksy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /seq/0/repeat-until: unknown key found, expected: consume, doc, doc-ref, eos-error, id, if, include, repeat, terminator, type
# /seq/0/repeat-until: unknown key found, expected: consume, doc, doc-ref, eos-error, id, if, include, repeat, terminator, type, valid
meta:
id: repeat_incompatible1
seq:
Expand Down
2 changes: 1 addition & 1 deletion formats_err/repeat_incompatible3.ksy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /seq/0/repeat-expr: unknown key found, expected: consume, doc, doc-ref, eos-error, id, if, include, repeat, repeat-until, terminator, type
# /seq/0/repeat-expr: unknown key found, expected: consume, doc, doc-ref, eos-error, id, if, include, repeat, repeat-until, terminator, type, valid
meta:
id: repeat_incompatible3
seq:
Expand Down
2 changes: 1 addition & 1 deletion formats_err/repeat_wo_repeat.ksy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /seq/0/repeat-until: unknown key found, expected: consume, doc, doc-ref, eos-error, id, if, include, repeat, terminator, type
# /seq/0/repeat-until: unknown key found, expected: consume, doc, doc-ref, eos-error, id, if, include, repeat, terminator, type, valid
meta:
id: repeat_wo_repeat
seq:
Expand Down
2 changes: 1 addition & 1 deletion formats_err/switch_cases_malformed_quoting.ksy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /seq/1/cases/^AHEM: parsing expression '^AHEM' failed on 1:1, expected "not" ~ not_test | comparison
# /seq/1/cases/^AHEM: parsing expression '^AHEM' failed on 1:1, expected "not" ~ !(namePart) ~ not_test | comparison
meta:
id: switch_cases_malformed_quoting
seq:
Expand Down