Skip to content

Commit

Permalink
And we are still not done with the forward slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoikin committed Oct 29, 2024
1 parent f20c3f9 commit 2377daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Spago/Unit/Path.purs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec = Spec.describe "Paths" do

Spec.describe "LocalPath" do
Spec.it "can append strings" do
let p = root "/foo" </> "bar" </> "baz"
let p = Path.withForwardSlashes $ root "/foo" </> "bar" </> "baz"
Path.localPart p `shouldEqual` "bar/baz"
(p </> "x") `shouldPointAt` "/foo/bar/baz/x"
(p </> "../x") `shouldPointAt` "/foo/bar/x"
Expand Down

0 comments on commit 2377daf

Please sign in to comment.