summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/specs/future/runtime_api/main.js2
-rw-r--r--tests/specs/future/runtime_api/main.out2
-rw-r--r--tests/unit/buffer_test.ts22
3 files changed, 0 insertions, 26 deletions
diff --git a/tests/specs/future/runtime_api/main.js b/tests/specs/future/runtime_api/main.js
index 9ab96e582..f5e17a6de 100644
--- a/tests/specs/future/runtime_api/main.js
+++ b/tests/specs/future/runtime_api/main.js
@@ -7,8 +7,6 @@ console.log(
);
console.log("Deno.funlock is", Deno.funlock);
console.log("Deno.funlockSync is", Deno.funlockSync);
-console.log("Deno.readAll is", Deno.readAll);
-console.log("Deno.readAllSync is", Deno.readAllSync);
console.log("Deno.read is", Deno.read);
console.log("Deno.readSync is", Deno.readSync);
console.log("Deno.seek is", Deno.seek);
diff --git a/tests/specs/future/runtime_api/main.out b/tests/specs/future/runtime_api/main.out
index 7cc4cdf15..e76a20265 100644
--- a/tests/specs/future/runtime_api/main.out
+++ b/tests/specs/future/runtime_api/main.out
@@ -4,8 +4,6 @@ Deno.File is undefined
Deno.FsFile.prototype.rid is undefined
Deno.funlock is undefined
Deno.funlockSync is undefined
-Deno.readAll is undefined
-Deno.readAllSync is undefined
Deno.read is undefined
Deno.readSync is undefined
Deno.seek is undefined
diff --git a/tests/unit/buffer_test.ts b/tests/unit/buffer_test.ts
index 5b788a45c..fcbeb4bc9 100644
--- a/tests/unit/buffer_test.ts
+++ b/tests/unit/buffer_test.ts
@@ -354,28 +354,6 @@ Deno.test({ ignore: DENO_FUTURE }, async function bufferTestGrow() {
}
});
-Deno.test({ ignore: DENO_FUTURE }, async function testReadAll() {
- init();
- assert(testBytes);
- const reader = new Deno.Buffer(testBytes.buffer as ArrayBuffer);
- const actualBytes = await Deno.readAll(reader);
- assertEquals(testBytes.byteLength, actualBytes.byteLength);
- for (let i = 0; i < testBytes.length; ++i) {
- assertEquals(testBytes[i], actualBytes[i]);
- }
-});
-
-Deno.test({ ignore: DENO_FUTURE }, function testReadAllSync() {
- init();
- assert(testBytes);
- const reader = new Deno.Buffer(testBytes.buffer as ArrayBuffer);
- const actualBytes = Deno.readAllSync(reader);
- assertEquals(testBytes.byteLength, actualBytes.byteLength);
- for (let i = 0; i < testBytes.length; ++i) {
- assertEquals(testBytes[i], actualBytes[i]);
- }
-});
-
Deno.test({ ignore: DENO_FUTURE }, function testBufferBytesArrayBufferLength() {
// defaults to copy
const args = [{}, { copy: undefined }, undefined, { copy: true }];