diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/specs/install/move_after_install/__test__.jsonc | 6 | ||||
-rw-r--r-- | tests/testdata/run/error_syntax_empty_trailing_line.mjs.out | 6 | ||||
-rw-r--r-- | tests/unit_node/crypto/crypto_key_test.ts | 6 |
3 files changed, 11 insertions, 7 deletions
diff --git a/tests/specs/install/move_after_install/__test__.jsonc b/tests/specs/install/move_after_install/__test__.jsonc index 1699e9f6f..f46f22268 100644 --- a/tests/specs/install/move_after_install/__test__.jsonc +++ b/tests/specs/install/move_after_install/__test__.jsonc @@ -15,8 +15,10 @@ "output": "5\n" }, { - "commandName": "mv", - "args": "test-project test-project-moved", + "args": [ + "eval", + "Deno.renameSync('test-project', 'test-project-moved')" + ], "output": "" }, { diff --git a/tests/testdata/run/error_syntax_empty_trailing_line.mjs.out b/tests/testdata/run/error_syntax_empty_trailing_line.mjs.out index 2eb290bb5..2c9b97aa4 100644 --- a/tests/testdata/run/error_syntax_empty_trailing_line.mjs.out +++ b/tests/testdata/run/error_syntax_empty_trailing_line.mjs.out @@ -1,4 +1,6 @@ -error: The module's source code could not be parsed: Unexpected eof at [WILDCARD]/error_syntax_empty_trailing_line.mjs:2:22 +error: The module's source code could not be parsed: Unexpected eof at [WILDCARD]/error_syntax_empty_trailing_line.mjs:3:1 setTimeout(() => {}), - ~ + ~~~~~~~~~~~~~~~~~~~~~ + + ~ diff --git a/tests/unit_node/crypto/crypto_key_test.ts b/tests/unit_node/crypto/crypto_key_test.ts index 1f900e84c..f12aaa87d 100644 --- a/tests/unit_node/crypto/crypto_key_test.ts +++ b/tests/unit_node/crypto/crypto_key_test.ts @@ -532,7 +532,7 @@ MC4CAQAwBQYDK2VwBCIEIJ1hsZ3v/VpguoRK9JLsLMREScVpezJpGXA7rAMcrn9g assertEquals(pkcs8Actual, pkcs8Expected); }); -Deno.test("RSA export public JWK", async function () { +Deno.test("RSA export public JWK", function () { const importKey = "-----BEGIN PUBLIC KEY-----\n" + "MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAqF66soiDvuqUB7ufWtuV\n" + "5a1nZIw90m9qHEl2MeNt66HeEjG2GeHDfF5a4uplutnAh3dwpFweHqGIyB16POTI\n" + @@ -557,7 +557,7 @@ Deno.test("RSA export public JWK", async function () { }); }); -Deno.test("EC export public jwk", async function () { +Deno.test("EC export public jwk", function () { const key = "-----BEGIN PUBLIC KEY-----\n" + "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEVEEIrFEZ+40Pk90LtKBQ3r7FGAPl\n" + "v4bvX9grC8bNiNiVAcyEKs+QZKQj/0/CUPJV10AmavrUoPk/7Wy0sejopQ==\n" + @@ -573,7 +573,7 @@ Deno.test("EC export public jwk", async function () { }); }); -Deno.test("Ed25519 export public jwk", async function () { +Deno.test("Ed25519 export public jwk", function () { const key = "-----BEGIN PUBLIC KEY-----\n" + "MCowBQYDK2VwAyEAKCVFOD6Le61XM7HbN/MB/N06mX5bti2p50qjLvT1mzE=\n" + "-----END PUBLIC KEY-----\n"; |