Skip to content

Commit cdb0938

Browse files
committed
add import from URL test
1 parent ad96a72 commit cdb0938

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/unit/TestLanguagePipeline.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,9 @@ testLanguagePipeline =
779779
"import \"data/test/import/f.sw\"; pure (f + g)"
780780
"1:43: Unbound variable g"
781781
)
782+
, testCase
783+
"import from URL"
784+
( valid "import \"https://raw.githubusercontent.com/byorgey/swarm-defs/refs/heads/main/defs.sw\"; tL")
782785
]
783786
]
784787
where

0 commit comments

Comments
 (0)