We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b271f84 commit c3eee6cCopy full SHA for c3eee6c
json-to-go.test.js
@@ -142,7 +142,7 @@ function test(includeExampleData) {
142
if (got.error) {
143
console.assert(!got.error, `format('${testCase.input}'): ${got.error}`);
144
} else {
145
- exp = includeExampleData ? testCase.expectedWithExample : testCase.expected
+ const exp = includeExampleData ? testCase.expectedWithExample : testCase.expected
146
console.assert(
147
got.go === exp,
148
`format('${testCase.input}'): \n\tgot: ${quote(got.go)}\n\twant: ${quote(exp)}`
0 commit comments