diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2021-07-05 15:21:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 15:21:44 -0400 |
commit | ce3fbb4bd1bcdfbead8fb795d1ff2f71c6051bf4 (patch) | |
tree | e8f21a28dcd9860e9cff8e0d2bc3d481abc952be /cli/tests/integration/info_tests.rs | |
parent | 334cef06e7778dabe7c9b6c4998f476675281698 (diff) |
chore: add tests for previous assertion error when file contained only triple slash references (#11285)
Diffstat (limited to 'cli/tests/integration/info_tests.rs')
-rw-r--r-- | cli/tests/integration/info_tests.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/info_tests.rs b/cli/tests/integration/info_tests.rs index 190c0330c..3bba89cc0 100644 --- a/cli/tests/integration/info_tests.rs +++ b/cli/tests/integration/info_tests.rs @@ -111,3 +111,10 @@ itest!(_054_info_local_imports { output: "054_info_local_imports.out", exit_code: 0, }); + +// Tests for AssertionError where "data" is unexpectedly null when +// a file contains only triple slash references (#11196) +itest!(data_null_error { + args: "info info/data_null_error/mod.ts", + output: "info/data_null_error/data_null_error.out", +}); |