test: Fix broken test and remove redundant test file (#4390)

This commit is contained in:
Chris Knight 2020-03-16 11:40:36 +00:00 committed by GitHub
parent 1edb20b399
commit 62942749e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 114 deletions

View file

@ -31,7 +31,7 @@ test(function requireBuiltin() {
assert("readFileSync" in fs);
const { readFileSync, isNull, extname } = require_("./tests/cjs/cjs_builtin");
assertEquals(
readFileSync("./node/testdata/hello.txt", { encoding: "utf8" }),
readFileSync("./node/_fs/testdata/hello.txt", { encoding: "utf8" }),
"hello world"
);
assert(isNull(null));