summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/bundle/lockfile
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-09-19 09:32:21 -0500
committerGitHub <noreply@github.com>2022-09-19 10:32:21 -0400
commit1464b756a4ef091ef97d1bf7340188ab5fe5492a (patch)
tree2eff346ccf5782c501460aec63a5028742066fa6 /cli/tests/testdata/bundle/lockfile
parent8d50c09c0db4e9b0644263cde3f7ff990ec75259 (diff)
refactor: move out test files from root testdata directory into sub directories (#15949)
Diffstat (limited to 'cli/tests/testdata/bundle/lockfile')
-rw-r--r--cli/tests/testdata/bundle/lockfile/check_error.json5
-rw-r--r--cli/tests/testdata/bundle/lockfile/check_error.out4
2 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/testdata/bundle/lockfile/check_error.json b/cli/tests/testdata/bundle/lockfile/check_error.json
new file mode 100644
index 000000000..a218d7000
--- /dev/null
+++ b/cli/tests/testdata/bundle/lockfile/check_error.json
@@ -0,0 +1,5 @@
+{
+ "http://127.0.0.1:4545/subdir/mod1.ts": "bfc1037b02c99abc20367f739bca7455813a5950066abd77965bff33b6eece0f",
+ "http://127.0.0.1:4545/subdir/print_hello.ts": "fa6692c8f9ff3fb107e773c3ece5274e9d08be282867a1e3ded1d9c00fcaa63c",
+ "http://127.0.0.1:4545/subdir/subdir2/mod2.ts": "bad"
+}
diff --git a/cli/tests/testdata/bundle/lockfile/check_error.out b/cli/tests/testdata/bundle/lockfile/check_error.out
new file mode 100644
index 000000000..9299bc27e
--- /dev/null
+++ b/cli/tests/testdata/bundle/lockfile/check_error.out
@@ -0,0 +1,4 @@
+[WILDCARD]
+error: The source code is invalid, as it does not match the expected hash in the lock file.
+ Specifier: http://127.0.0.1:4545/subdir/subdir2/mod2.ts
+ Lock file: bundle/lockfile/check_error.json