We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc28fbc commit fbd9a26Copy full SHA for fbd9a26
src/Confix.Tool/test/Confix.Tool.Tests/Middlewares/MagicPathRewriterTests.cs
@@ -178,9 +178,9 @@ public void Rewrite_MixedNullAndMagicPaths_ReplacesCorrectly()
178
Assert.Null(resultObj["nullValue"]);
179
Assert.Null(resultObj["anotherNull"]);
180
181
- // Magic paths should be replaced
182
- Assert.Contains("/home-location/", resultObj["homePath"]?.ToString());
183
- Assert.Contains("/file-location/", resultObj["filePath"]?.ToString());
+ // Magic paths should be replaced (use platform-agnostic check)
+ Assert.Contains("home-location", resultObj["homePath"]?.ToString());
+ Assert.Contains("file-location", resultObj["filePath"]?.ToString());
184
}
185
186
[Fact]
0 commit comments