From ce3fbb4bd1bcdfbead8fb795d1ff2f71c6051bf4 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 5 Jul 2021 15:21:44 -0400 Subject: chore: add tests for previous assertion error when file contained only triple slash references (#11285) --- cli/tests/integration/info_tests.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cli/tests/integration') 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", +}); -- cgit v1.2.3