Skip to content

Commit

Permalink
Reproduce #424
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Dec 5, 2014
1 parent a841dc7 commit b5dba62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Paket/Paket.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<WarningLevel>3</WarningLevel>
<DocumentationFile>
</DocumentationFile>
<StartArguments>update nuget shizzle</StartArguments>
<StartArguments>update</StartArguments>
<StartAction>Project</StartAction>
<StartProgram>paket.exe</StartProgram>
<StartWorkingDirectory>
Expand Down
5 changes: 5 additions & 0 deletions tests/Paket.Tests/SemVerSpecs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ let ``trailing zeros are equal``() =
let ``can parse strange versions``() =
(SemVer.Parse "2.1-alpha10").ToString() |> shouldEqual "2.1-alpha10"
(SemVer.Parse "2-alpha100").ToString() |> shouldEqual "2-alpha100"
(SemVer.Parse "0.5.0-ci1411131947").ToString() |> shouldEqual "0.5.0-ci1411131947"

[<Test>]
let ``can parse FSharp.Data versions``() =
Expand All @@ -95,3 +96,7 @@ let ``can normalize build zeros``() =
[<Test>]
let ``can normalize build zeros in prerelease``() =
(SemVer.Parse "6.0.1302.0-Preview").Normalize() |> shouldEqual "6.0.1302-Preview"

[<Test>]
let ``can normalize CI versions in prerelease``() =
(SemVer.Parse "0.5.0-ci1411131947").Normalize() |> shouldEqual "0.5.0-ci1411131947"

0 comments on commit b5dba62

Please sign in to comment.