diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-11-09 16:14:53 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-11-09 16:34:26 +0100 |
| commit | 074d86a867c20d6e9daf164e5d03a81cf7ecb2b4 (patch) | |
| tree | 2b398d7ce3d29c4b8165f21249414ce12bfe5a69 /test/js/encode_decode.html | |
| parent | f6d7c5372b81b9cf7ce76df67b0e61981f96d60f (diff) | |
| download | chawan-074d86a867c20d6e9daf164e5d03a81cf7ecb2b4.tar.gz | |
dom: support all HTMLHyperlinkElementUtils getters
Diffstat (limited to 'test/js/encode_decode.html')
| -rw-r--r-- | test/js/encode_decode.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/js/encode_decode.html b/test/js/encode_decode.html index 82e9676c..c2bcd509 100644 --- a/test/js/encode_decode.html +++ b/test/js/encode_decode.html @@ -19,7 +19,7 @@ function bytesToBase64(bytes) { const utf8 = new TextEncoder().encode("a Ā 𐀀 文 🦄") const b64utf8 = bytesToBase64(utf8); -assert_equals(b64utf8, "YSDEgCDwkICAIOaWhyDwn6aE") +assertEquals(b64utf8, "YSDEgCDwkICAIOaWhyDwn6aE") const dec = new TextDecoder(); const bytes = base64ToBytes(b64utf8); const a = []; @@ -27,6 +27,6 @@ let res = ""; for (const c of bytes) res += dec.decode(c, {stream: true}); res += dec.decode(); -assert_equals(res, "a Ā 𐀀 文 🦄"); +assertEquals(res, "a Ā 𐀀 文 🦄"); document.getElementById("success").textContent = "Success"; </script> |