anchor.diff:  open Paket
   open Paket.Domain
   
  +// set this to true and the tests will overwrite the baseline files with the new result.
  +// then you can easily diff them in git and decide if the changes are OK or represent a bug.
  +let updateBaselines = false
  +
   [<Test>]
   let ``#1135 should keep lockfile stable when using framework restrictions``() = 
       let newLockFile = install "i001135-stable-install-on-framework-restrictions"
  
positive.code: 
      let newFile = Path.Combine(scenarioTempPath scenario,"MyClassLibrary","MyClassLibrary","MyClassLibrary.csproj")
      let oldFile = Path.Combine(originalScenarioPath scenario,"MyClassLibrary","MyClassLibrary","MyClassLibrary.expected")
      let s1 = File.ReadAllText oldFile |> normalizeLineEndings
      let s2 = File.ReadAllText newFile |> normalizeLineEndings
      s2 |> shouldEqual s1
  
negative.code:     install "i001663-build-targets" |> ignore
      let newFile = Path.Combine(scenarioTempPath "i001663-build-targets","MyClassLibrary","MyClassLibrary","MyClassLibrary.csproj")
      let oldFile = Path.Combine(originalScenarioPath "i001663-build-targets","MyClassLibrary","MyClassLibrary","MyClassLibrary.csprojtemplate")
      if updateBaselines then
          File.Copy (newFile, oldFile, overwrite=true)
      let s1 = File.ReadAllText oldFile |> normalizeLineEndings
      let s2 = File.ReadAllText newFile |> normalizeLineEndings
      s2 |> shouldEqual s1
  