aboutsummaryrefslogtreecommitdiff
path: root/js/decode_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/decode_test.js')
-rw-r--r--js/decode_test.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/decode_test.js b/js/decode_test.js
index 18ebe9d..0c18f44 100644
--- a/js/decode_test.js
+++ b/js/decode_test.js
@@ -9,10 +9,13 @@ function bytesToString(bytes) {
return String.fromCharCode.apply(null, new Uint16Array(bytes));
}
+function testMetadata() {
+ assertEquals("", bytesToString(BrotliDecode(Int8Array.from([1, 11, 0, 42, 3]))));
+}
+
function testEmpty() {
assertEquals("", bytesToString(BrotliDecode(Int8Array.from([6]))));
assertEquals("", bytesToString(BrotliDecode(Int8Array.from([0x81, 1]))));
- assertEquals("", bytesToString(BrotliDecode(Int8Array.from([1, 11, 0, 42, 3]))));
}
function testBaseDictWord() {