Commit d2dd6a3
authored
Enable tests for invalid documents starting with n (#94)
* Enable tests for invalid documents starting with n
* Add test for invalid document with trailing text
Oddly, `null trailing` gives an error, but `nully trailing` does not
* Add workaround for scalar document is_null bug
For now, we can just manually throw the exception until the next
simdjson bugfix release: simdjson/simdjson#22581 parent 4a65dc5 commit d2dd6a3
File tree
3 files changed
+7
-2
lines changed- jsonexamples/invalid
- spec
- src
3 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | | - | |
| 113 | + | |
113 | 114 | | |
114 | | - | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
0 commit comments