Skip to content

Commit

Permalink
Merge pull request #91 from Mingun/fix-broken-tests
Browse files Browse the repository at this point in the history
Fix some broken tests
  • Loading branch information
generalmimon authored Dec 18, 2020
2 parents 84abc3e + cac58c3 commit 6f3e063
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 8 deletions.
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

0 comments on commit 6f3e063

Please sign in to comment.