Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix Bundle_Extraction_To_Relative_Path_Succeeds host test
Exclude the `foo\\bar` case for non-Windows.
  • Loading branch information
janvorli committed Dec 1, 2022
commit 21f94246c55829c0766ef67793c5f8cedfdc8dce
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ private void Bundle_Extraction_To_Relative_Path_Succeeds(string relativePath, Bu
if (relativePath == "foo/bar" && OperatingSystem.IsWindows())
return;

// Similarly on non-Windows OSes, we don't convert backslash directory separators
// to forward ones.
if (relativePath == "foo\\bar" && !OperatingSystem.IsWindows())
return;

var fixture = sharedTestState.TestFixture.Copy();
var bundler = BundleSelfContainedApp(fixture, out var singleFile, bundleOptions);

Expand Down