File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/Microsoft.Build.Tasks.Git.UnitTests Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "dotnet.defaultSolution" : " SourceLink.sln"
3+ }
Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ public void GetSourceRoots_RepoWithCommits_WithoutUrl()
472472
473473 AssertEx . Equal ( new [ ]
474474 {
475- @"'C:\ src\ ' SourceControl='git' RevisionId='0000000000000000000000000000000000000000'" ,
475+ $ @ "'{ _workingDir } { s } src{ s } ' SourceControl='git' RevisionId='0000000000000000000000000000000000000000'",
476476 } , items . Select ( TestUtilities . InspectSourceRoot ) ) ;
477477
478478 Assert . Empty ( warnings . Select ( TestUtilities . InspectDiagnostic ) ) ;
@@ -491,7 +491,7 @@ public void GetSourceRoots_RepoWithCommits_WithUrl()
491491
492492 AssertEx . Equal ( new [ ]
493493 {
494- @"'C:\ src\ ' SourceControl='git' RevisionId='0000000000000000000000000000000000000000' ScmRepositoryUrl='http://github.com/abc'" ,
494+ $ @ "'{ _workingDir } { s } src{ s } ' SourceControl='git' RevisionId='0000000000000000000000000000000000000000' ScmRepositoryUrl='http://github.com/abc'",
495495 } , items . Select ( TestUtilities . InspectSourceRoot ) ) ;
496496
497497 Assert . Empty ( warnings . Select ( TestUtilities . InspectDiagnostic ) ) ;
You can’t perform that action at this time.
0 commit comments