summaryrefslogtreecommitdiff
path: root/core/encode_decode_test.js
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /core/encode_decode_test.js
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'core/encode_decode_test.js')
-rw-r--r--core/encode_decode_test.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/core/encode_decode_test.js b/core/encode_decode_test.js
index 294144593..69e6e053b 100644
--- a/core/encode_decode_test.js
+++ b/core/encode_decode_test.js
@@ -11,20 +11,20 @@ function assertArrayEquals(a1, a2) {
}
function main() {
- // prettier-ignore
+ // deno-fmt-ignore
const fixture1 = [
0xf0, 0x9d, 0x93, 0xbd,
0xf0, 0x9d, 0x93, 0xae,
0xf0, 0x9d, 0x94, 0x81,
0xf0, 0x9d, 0x93, 0xbd
];
- // prettier-ignore
- const fixture2 = [
- 72, 101, 108, 108,
- 111, 32, 239, 191,
- 189, 239, 191, 189,
- 32, 87, 111, 114,
- 108, 100
+ // deno-fmt-ignore
+ const fixture2 = [
+ 72, 101, 108, 108,
+ 111, 32, 239, 191,
+ 189, 239, 191, 189,
+ 32, 87, 111, 114,
+ 108, 100
];
const empty = Deno.core.encode("");
@@ -33,7 +33,7 @@ function main() {
assertArrayEquals(Array.from(Deno.core.encode("𝓽𝓮𝔁𝓽")), fixture1);
assertArrayEquals(
Array.from(Deno.core.encode("Hello \udc12\ud834 World")),
- fixture2
+ fixture2,
);
const emptyBuf = Deno.core.decode(new Uint8Array(0));