diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-11-03 16:19:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 16:19:29 +0100 |
commit | 8e914be7420715620cad74fbb020c5e87ac875a2 (patch) | |
tree | 2fefc0111f85533de2bd24e54f70c6c1241e3d3b /core/encode_decode_test.js | |
parent | e736d0f60f6cdf38e2d317ee08a7125de9e57d69 (diff) |
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
Diffstat (limited to 'core/encode_decode_test.js')
-rw-r--r-- | core/encode_decode_test.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/encode_decode_test.js b/core/encode_decode_test.js index bbb52252e..b8a142ac5 100644 --- a/core/encode_decode_test.js +++ b/core/encode_decode_test.js @@ -1,4 +1,9 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +function assert(cond) { + if (!cond) { + throw Error("assert"); + } +} function assertArrayEquals(a1, a2) { if (a1.length !== a2.length) throw Error("assert"); |