Skip to content

Commit f0429ac

Browse files
committed
Improve the "Diagnose" test
1 parent 5200a8e commit f0429ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/nugraph.Tests/NugraphTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public async Task Diagnose()
2525
using (new AssertionScope())
2626
{
2727
result.Should().Match(stdOutPattern: "nugraph:*");
28-
result.StdOut.Should().NotContain(Path.DirectorySeparatorChar + Environment.UserName + Path.DirectorySeparatorChar);
28+
result.StdOut.Should().NotContain(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile));
2929
}
3030
}
3131

0 commit comments

Comments
 (0)