Skip to content

Commit

Permalink
Extend test to cover auth key parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
inosik committed Jan 28, 2017
1 parent cfe15bf commit 688e336
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions tests/Paket.Tests/Lockfile/ParserSpecs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,8 @@ let lockFileWithFilesContainingSpaces = """
GITHUB
remote: owner/repo
specs:
"file 1.fs" (7623fc13439f0e60bd05c1ed3b5f6dcb937fe468)"""
"file 1.fs" (7623fc13439f0e60bd05c1ed3b5f6dcb937fe468)
"file 2.fs" (7623fc13439f0e60bd05c1ed3b5f6dcb937fe468) secret"""

[<Test>]
let ``should parse lock file with spaces in file names``() =
Expand All @@ -901,4 +902,14 @@ let ``should parse lock file with spaces in file names``() =
Command = None
OperatingSystemRestriction = None
PackagePath = None
AuthKey = None } ]
AuthKey = None }
{ Owner = "owner"
Project = "repo"
Name = "file 2.fs"
Origin = ModuleResolver.Origin.GitHubLink
Dependencies = Set.empty
Commit = "7623fc13439f0e60bd05c1ed3b5f6dcb937fe468"
Command = None
OperatingSystemRestriction = None
PackagePath = None
AuthKey = Some "secret" } ]

0 comments on commit 688e336

Please sign in to comment.