Commit b941149
tests: Improve CharReaderFailIfExtraTest (open-source-parsers#1011)
* There was a nonsensical change of 'failIfExtra' before calling strictMode():
the latter resets the former.
Dealt with by having one test with pure strictMode and one with strictMode
but failIfExtra=false.
* The JSONTEST_ASSERT_STRING_EQUAL tests for the error strings swapped
the 'expected' and 'actual' values.1 parent 2cf939e commit b941149
1 file changed
Lines changed: 19 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2116 | 2116 | | |
2117 | 2117 | | |
2118 | 2118 | | |
2119 | | - | |
2120 | | - | |
2121 | | - | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
2122 | 2134 | | |
2123 | 2135 | | |
2124 | 2136 | | |
2125 | 2137 | | |
2126 | | - | |
2127 | 2138 | | |
| 2139 | + | |
2128 | 2140 | | |
2129 | 2141 | | |
2130 | 2142 | | |
2131 | 2143 | | |
2132 | | - | |
2133 | | - | |
2134 | | - | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
2135 | 2147 | | |
2136 | 2148 | | |
2137 | 2149 | | |
| |||
0 commit comments