Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adding additional test for relative paths
  • Loading branch information
Stift committed Apr 13, 2015
commit 9280a1733df0c29d52e8714909a8e6ade396afa4
6 changes: 6 additions & 0 deletions tests/Paket.Tests/UtilsSpecs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ let ``absolute path with drive letter``() =
|> normalizeLocalPath
|> shouldEqual (AbsolutePath "c:\\Store")

[<Test>]
let ``relative path with drive letter``() =
"..\\Store"
|> normalizeLocalPath
|> shouldEqual (RelativePath "..\\Store")

[<Test>]
let ``SMB path is returned as absolute path``() =
"\\\\server\\Store"
Expand Down