File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11using Xunit ;
2- using Semmle . Util ;
32using Semmle . Extraction . CSharp ;
3+ using System . IO ;
44
55namespace 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}
You can’t perform that action at this time.
0 commit comments