diff --git a/lang/parser/lexparse_test.go b/lang/parser/lexparse_test.go index 4dbf982f..a1efe256 100644 --- a/lang/parser/lexparse_test.go +++ b/lang/parser/lexparse_test.go @@ -2487,6 +2487,22 @@ func TestImportParsing0(t *testing.T) { isLocal: true, path: "foo/", }) + testCases = append(testCases, test{ + name: "foo/bar/", + alias: "bar", + isSystem: false, + isLocal: true, + isFile: false, + path: "foo/bar/", + }) + testCases = append(testCases, test{ + name: "foo/bar/baz/", + alias: "baz", + isSystem: false, + isLocal: true, + isFile: false, + path: "foo/bar/baz/", + }) testCases = append(testCases, test{ // import foo.mcl # import a file next to me name: "foo.mcl",