summaryrefslogtreecommitdiff
path: root/core/encode_decode_test.js
diff options
context:
space:
mode:
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));