Skip to content

Commit

Permalink
Add tests for invalid keys and number formats
Browse files Browse the repository at this point in the history
This improves the coverage of the test suite.
  • Loading branch information
aperezdc committed Dec 7, 2015
1 parent e8b5b8c commit 61b647a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/fail-float-doubledot-2.err
@@ -0,0 +1 @@
line 1, column 8: invalid numeric value
1 change: 1 addition & 0 deletions test/fail-float-doubledot-2.hi
@@ -0,0 +1 @@
bad: 1..1
1 change: 1 addition & 0 deletions test/fail-invalid-key-1.err
@@ -0,0 +1 @@
line 1, column 4: missing separator
1 change: 1 addition & 0 deletions test/fail-invalid-key-1.hi
@@ -0,0 +1 @@
bad,: 1
1 change: 1 addition & 0 deletions test/fail-invalid-key-2.err
@@ -0,0 +1 @@
line 1, column 1: missing dictionary key
1 change: 1 addition & 0 deletions test/fail-invalid-key-2.hi
@@ -0,0 +1 @@
,: 1
1 change: 1 addition & 0 deletions test/fail-invalid-key-3.err
@@ -0,0 +1 @@
line 1, column 1: missing dictionary key
1 change: 1 addition & 0 deletions test/fail-invalid-key-3.hi
@@ -0,0 +1 @@
]:

0 comments on commit 61b647a

Please sign in to comment.