File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public async Task ShouldCompileAndExecuteWithWebSdk()
18
18
var commands = new [ ]
19
19
{
20
20
@"#r ""sdk:Microsoft.NET.Sdk.Web""" ,
21
- "using Microsoft.AspNetCore.Builderss ;" ,
21
+ "using Microsoft.AspNetCore.Builder ;" ,
22
22
"var a = WebApplication.Create();" ,
23
23
@"a.GetType()" ,
24
24
"#exit"
@@ -28,7 +28,7 @@ public async Task ShouldCompileAndExecuteWithWebSdk()
28
28
await ctx . Runner . RunLoop ( ) ;
29
29
30
30
var result = ctx . Console . Out . ToString ( ) ;
31
-
31
+ var error = ctx . Console . Error . ToString ( ) ;
32
32
Assert . Contains ( "[Microsoft.AspNetCore.Builder.WebApplication]" , result ) ;
33
33
}
34
34
}
Original file line number Diff line number Diff line change 28
28
<PackageReference Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.4.0-1.final" />
29
29
<PackageReference Include =" McMaster.Extensions.CommandLineUtils" Version =" 4.0.2" />
30
30
<PackageReference Include =" Microsoft.Extensions.Logging.Console" Version =" 7.0.0" />
31
- <PackageReference Include =" Microsoft.Extensions.Configuration" Version =" 7.0.0" />
32
31
</ItemGroup >
33
32
<ItemGroup >
34
33
<ProjectReference Include =" ..\Dotnet.Script.Core\Dotnet.Script.Core.csproj" />
You can’t perform that action at this time.
0 commit comments