File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ public void ShouldUpdatePathToDotnetScript()
179
179
[ Fact ]
180
180
public void ShouldCreateUnifiedLaunchFileWhenInstalledAsGlobalTool ( )
181
181
{
182
- Scaffolder scaffolder = CreateTestScaffolder ( "somefolder/. dotnet/ tools/ dotnet-script" ) ;
182
+ Scaffolder scaffolder = CreateTestScaffolder ( $ "somefolder{ Path . DirectorySeparatorChar } . dotnet{ Path . DirectorySeparatorChar } tools{ Path . DirectorySeparatorChar } dotnet-script") ;
183
183
184
184
using var scriptFolder = new DisposableFolder ( ) ;
185
185
scaffolder . InitializerFolder ( "main.csx" , scriptFolder . Path ) ;
@@ -191,7 +191,7 @@ public void ShouldCreateUnifiedLaunchFileWhenInstalledAsGlobalTool()
191
191
public void ShouldUpdateToUnifiedLaunchFileWhenInstalledAsGlobalTool ( )
192
192
{
193
193
Scaffolder scaffolder = CreateTestScaffolder ( "some-install-folder" ) ;
194
- Scaffolder globalToolScaffolder = CreateTestScaffolder ( "somefolder/. dotnet/ tools/ dotnet-script" ) ;
194
+ Scaffolder globalToolScaffolder = CreateTestScaffolder ( $ "somefolder{ Path . DirectorySeparatorChar } . dotnet{ Path . DirectorySeparatorChar } tools{ Path . DirectorySeparatorChar } dotnet-script") ;
195
195
using var scriptFolder = new DisposableFolder ( ) ;
196
196
scaffolder . InitializerFolder ( "main.csx" , scriptFolder . Path ) ;
197
197
var fileContent = File . ReadAllText ( Path . Combine ( scriptFolder . Path , ".vscode" , "launch.json" ) ) ;
You can’t perform that action at this time.
0 commit comments