Skip to content

Commit cd0b31c

Browse files
committed
Fixup tests.
1 parent 871c6c9 commit cd0b31c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

csharp/extractor/Semmle.Extraction.Tests/OverlayInfo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Xunit;
2-
using Semmle.Util;
32
using Semmle.Extraction.CSharp;
3+
using System.IO;
44

55
namespace Semmle.Extraction.Tests
66
{
@@ -23,9 +23,9 @@ public void TestOverlay()
2323
var overlay = new OverlayInfo(logger, "overlay/source/path", json);
2424

2525
Assert.True(overlay.IsOverlayMode);
26-
Assert.False(overlay.OnlyMakeScaffold("overlay/source/path/app/controllers/about_controller.xyz"));
27-
Assert.False(overlay.OnlyMakeScaffold("overlay/source/path/app/models/about.xyz"));
28-
Assert.True(overlay.OnlyMakeScaffold("overlay/source/path/app/models/unchanged.xyz"));
26+
Assert.False(overlay.OnlyMakeScaffold("overlay/source/path" + Path.DirectorySeparatorChar + "app/controllers/about_controller.xyz"));
27+
Assert.False(overlay.OnlyMakeScaffold("overlay/source/path" + Path.DirectorySeparatorChar + "app/models/about.xyz"));
28+
Assert.True(overlay.OnlyMakeScaffold("overlay/source/path" + Path.DirectorySeparatorChar + "app/models/unchanged.xyz"));
2929
}
3030
}
3131
}

0 commit comments

Comments
 (0)