summaryrefslogtreecommitdiff
path: root/tests/testdata/bundle/lockfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/bundle/lockfile')
-rw-r--r--tests/testdata/bundle/lockfile/check_error.json5
-rw-r--r--tests/testdata/bundle/lockfile/check_error.out4
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/testdata/bundle/lockfile/check_error.json b/tests/testdata/bundle/lockfile/check_error.json
new file mode 100644
index 000000000..a218d7000
--- /dev/null
+++ b/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/tests/testdata/bundle/lockfile/check_error.out b/tests/testdata/bundle/lockfile/check_error.out
new file mode 100644
index 000000000..9299bc27e
--- /dev/null
+++ b/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