Skip to content

Commit 788ff3a

Browse files
committed
Fixed type in test
1 parent 3f8d0bf commit 788ff3a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Dotnet.Script.Tests/InteractiveRunnerTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public async Task ShouldCompileAndExecuteWithWebSdk()
1818
var commands = new[]
1919
{
2020
@"#r ""sdk:Microsoft.NET.Sdk.Web""",
21-
"using Microsoft.AspNetCore.Builderss;",
21+
"using Microsoft.AspNetCore.Builder;",
2222
"var a = WebApplication.Create();",
2323
@"a.GetType()",
2424
"#exit"
@@ -28,7 +28,7 @@ public async Task ShouldCompileAndExecuteWithWebSdk()
2828
await ctx.Runner.RunLoop();
2929

3030
var result = ctx.Console.Out.ToString();
31-
31+
var error = ctx.Console.Error.ToString();
3232
Assert.Contains("[Microsoft.AspNetCore.Builder.WebApplication]", result);
3333
}
3434
}

src/Dotnet.Script/Dotnet.Script.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0-1.final" />
2929
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.0.2" />
3030
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
31-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
3231
</ItemGroup>
3332
<ItemGroup>
3433
<ProjectReference Include="..\Dotnet.Script.Core\Dotnet.Script.Core.csproj" />

0 commit comments

Comments
 (0)