Skip to content

Commit

Permalink
added possible corner case to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
XantreDev committed Jan 12, 2024
1 parent b5761d8 commit 068e73d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ fn test() {
r#"import {a} from "./named-exports"; const baz = a.baz"#,
r#"import baz from "./default_export_default_property"; const d = baz.default;"#,
r#"import baz, {foo} from "./named-and-default-export"; const d = baz.default;"#,
r"import baz from './named-exports';
{
const baz = {};
const a = baz.a;
}",
];

let fail = vec![
Expand Down

0 comments on commit 068e73d

Please sign in to comment.