Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update GivenThatICareAboutVBApps.cs
Revert the test from #18853
  • Loading branch information
marcpopMSFT authored Jul 16, 2021
commit 2d00da7a2249a37fd7b3fbbebeb5a4258d92cd37
24 changes: 0 additions & 24 deletions src/Tests/dotnet.Tests/GivenThatICareAboutVBApps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,6 @@ public GivenThatICareAboutVBApps(ITestOutputHelper log) : base(log)
{
}

[Fact]
public void ICanRemoveSpecificImportsInProjectFile()
{
var testProject = new TestProject
{
IsExe = true,
TargetFrameworks = "netcoreapp3.0",
ProjectSdk = "Microsoft.NET.Sdk"
};
testProject.SourceFiles["Program.vb"] = @"
Module Program
Sub Main(args As String())
Console.WriteLine(""Hello World!"")
End Sub
End Module
";
testProject.AdditionalItems["Import"] = new Dictionary<string, string> { ["Remove"] = "System" };
var testInstance = _testAssetsManager.CreateTestProject(testProject);

new BuildCommand(testInstance)
.Execute()
.Should().Fail();
}

[Fact]
public void ICanBuildVBApps()
{
Expand Down