From 15a763152f9d392cb80692262f8de5ef8ae15495 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 11 Aug 2021 10:20:47 -0400 Subject: chore: move test files to testdata directory (#11601) --- cli/tests/no_validate_asm.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 cli/tests/no_validate_asm.js (limited to 'cli/tests/no_validate_asm.js') diff --git a/cli/tests/no_validate_asm.js b/cli/tests/no_validate_asm.js deleted file mode 100644 index ef999e080..000000000 --- a/cli/tests/no_validate_asm.js +++ /dev/null @@ -1,20 +0,0 @@ -// V8 logs any asmjs validation errors to stdout, but it shows line numbers that -// are non-existent in the source. - -const _asmJsModule = function () { - "use asm"; - - function func( - x, - ) { - x = +x; // cast to float - - ~x; - // asmjs error: `~` is only valid on integers - // should not log to stdout with --no-validate-asm - } - - return { - f: func, - }; -}(); -- cgit v1.2.3