Skip to content

Commit 049d871

Browse files
committed
Merge branch 'master' into fsharp4
2 parents 6a0c3f1 + e9df8e9 commit 049d871

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vsintegration/src/unittests/Tests.ProjectSystem.References.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,14 +671,14 @@ type References() =
671671

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

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

0 commit comments

Comments
 (0)