We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38bead6 commit 60943ebCopy full SHA for 60943eb
src/Http/Http.Results/test/ResultsTests.cs
@@ -918,7 +918,7 @@ private static string GetMemberName(Expression expression)
918
(() => Results.Empty, typeof(EmptyHttpResult)),
919
(() => Results.File(new byte[0], null, null, false, null, null), typeof(FileContentHttpResult)),
920
(() => Results.File(new MemoryStream(), null, null, null, null, false), typeof(FileStreamHttpResult)),
921
- (() => Results.File("C:\\path", null, null, null, null, false), typeof(PhysicalFileHttpResult)),
+ (() => Results.File(Path.Join(Path.DirectorySeparatorChar.ToString(), "rooted", "path"), null, null, null, null, false), typeof(PhysicalFileHttpResult)),
922
(() => Results.File("path", null, null, null, null, false), typeof(VirtualFileHttpResult)),
923
(() => Results.Forbid(null, null), typeof(ForbidHttpResult)),
924
(() => Results.Json(new(), null, null, null), typeof(JsonHttpResult<object>)),
0 commit comments