Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira authored and lukaszcz committed Sep 9, 2024
1 parent aa054b0 commit 6d4fa15
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/Scope/Positive.hs
Original file line number Diff line number Diff line change
Expand Up @@ -265,5 +265,9 @@ tests =
posTest
"Scan name with 'import' prefix"
$(mkRelDir "issue2929")
$(mkRelFile "main.juvix"),
posTest
"Proper formatting of import module path"
$(mkRelDir "issue2737")
$(mkRelFile "main.juvix")
]
9 changes: 9 additions & 0 deletions tests/positive/issue2737/M.juvix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- 1
-- 2
-- 3
-- 4
-- 5
-- 6
-- 7
-- 8
module M;
8 changes: 8 additions & 0 deletions tests/positive/issue2737/Package.juvix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module Package;

import PackageDescription.V2 open;

package : Package :=
defaultPackage@?{
name := "issue2737"
};
5 changes: 5 additions & 0 deletions tests/positive/issue2737/main.juvix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module main;

import M as N;

-- comment at the end

0 comments on commit 6d4fa15

Please sign in to comment.