Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yatli committed May 26, 2019
1 parent 2d0d654 commit fd55433
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/ProjectCracker.Tests/ProjectCrackerTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ let ``crack a project file with custom IntermediateOutputPath`` () =
let ``crack a project file with custom OutputPath`` () =
let fsproj = Path.Combine [|projectRoot.FullName; "sample"; "CustomOutputPath"; "CustomOutputPath.fsproj" |] |> FileInfo
let cracked = ProjectCracker.crack(fsproj)
Assert.AreEqual("bar", cracked.target.Directory.Name)
Assert.AreEqual("foo", cracked.target.Directory.Parent.Name)
let dir = cracked.target.Directory
Assert.AreEqual("netcoreapp2.1", dir.Name)
let dir = dir.Parent
Assert.AreEqual("bar", dir.Name)
let dir = dir.Parent
Assert.AreEqual("foo", dir.Name)

0 comments on commit fd55433

Please sign in to comment.