Skip to content

Commit c16667d

Browse files
committed
Fix ParseAsync_Success_PopulatesTelemetryRecord expected path on Windows
1 parent bd4dcaa commit c16667d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Microsoft.ComponentDetection.Detectors.Tests/GoCLIParserTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ public async Task ParseAsync_Success_PopulatesTelemetryRecord()
307307
result.Should().BeTrue();
308308
record.IsGoAvailable.Should().BeTrue();
309309
record.DidGoCliCommandFail.Should().BeFalse();
310-
record.ProjectRoot.Should().Be("/project");
310+
record.ProjectRoot.Should().EndWith("project");
311311
record.WasGraphSuccessful.Should().BeTrue();
312312
}
313313

0 commit comments

Comments
 (0)