summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/create_require
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2022-11-29 14:13:14 +0900
committerGitHub <noreply@github.com>2022-11-29 14:13:14 +0900
commite4fe5ee72ace30ccd1b7b6b15717164cf79f49c4 (patch)
tree833984b1e239fc82ad840bd5c43b7cb2b6f84751 /cli/tests/testdata/npm/create_require
parentd3299c2d6c036d3f016ef1abbe9c06e9b1656fd0 (diff)
fix(ext/node): allow absolute path in createRequire (#16853)
Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'cli/tests/testdata/npm/create_require')
-rw-r--r--cli/tests/testdata/npm/create_require/main.out6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/create_require/main.out b/cli/tests/testdata/npm/create_require/main.out
index ebd96c120..70b0415b3 100644
--- a/cli/tests/testdata/npm/create_require/main.out
+++ b/cli/tests/testdata/npm/create_require/main.out
@@ -1,6 +1,12 @@
[WILDCARD]
function
function
+function
+function
+function
+function
The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received https://example.com/
The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received https://example.com/
The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received 1
+The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received foo
+The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received ./foo