Skip to content

Commit

Permalink
Merge branch 'master' into fsharp4
Browse files Browse the repository at this point in the history
  • Loading branch information
latkin committed Mar 27, 2015
2 parents 6a0c3f1 + e9df8e9 commit 049d871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vsintegration/src/unittests/Tests.ProjectSystem.References.fs
Original file line number Diff line number Diff line change
Expand Up @@ -671,14 +671,14 @@ type References() =

// check reference node properties
Assert.IsNotNull comReference
Assert.IsInstanceOf(typeof<ComReferenceNode>, comReference)
Assert.IsTrue(comReference :? ComReferenceNode)
let comRef = comReference :?> ComReferenceNode
Assert.AreEqual(1, comRef.MajorVersionNumber)
Assert.AreEqual(0, comRef.MinorVersionNumber)
Assert.AreEqual(guid, comRef.TypeGuid)
Assert.AreEqual("Microsoft Shell Controls And Automation", comRef.Caption)
let sysDirectory = Environment.GetFolderPath(Environment.SpecialFolder.SystemX86)
StringAssert.AreEqualIgnoringCase(Path.Combine(sysDirectory, "shell32.dll"), comRef.InstalledFilePath)
Assert.IsTrue(String.Compare(Path.Combine(sysDirectory, "shell32.dll"), comRef.InstalledFilePath, StringComparison.OrdinalIgnoreCase) = 0)

// check node exists under references
let l = new List<ComReferenceNode>()
Expand Down

0 comments on commit 049d871

Please sign in to comment.