summaryrefslogtreecommitdiff
path: root/cli/tests/unit/dispatch_json_test.ts
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2020-08-26 00:22:15 +0200
committerGitHub <noreply@github.com>2020-08-26 00:22:15 +0200
commit9bfb0df805719cb3f022a5b5d9f9d898ae954c2e (patch)
tree6c7d62d95fcbde54ebbe1035bdc74618c63cfbc0 /cli/tests/unit/dispatch_json_test.ts
parentd0ccab7fb7dd80030d3765ca9a9af44de6ecda5a (diff)
refactor: remove OpError, use ErrBox everywhere (#7187)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tests/unit/dispatch_json_test.ts')
-rw-r--r--cli/tests/unit/dispatch_json_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/dispatch_json_test.ts b/cli/tests/unit/dispatch_json_test.ts
index e5200aa5b..fe05122d5 100644
--- a/cli/tests/unit/dispatch_json_test.ts
+++ b/cli/tests/unit/dispatch_json_test.ts
@@ -39,7 +39,7 @@ unitTest(function malformedJsonControlBuffer(): void {
const resText = new TextDecoder().decode(resBuf);
const resObj = JSON.parse(resText);
assertStrictEquals(resObj.ok, undefined);
- assertStrictEquals(resObj.err.kind, "TypeError");
+ assertStrictEquals(resObj.err.kind, "SyntaxError");
assertMatch(resObj.err.message, /\bexpected value\b/);
});