From 883eb2e82f804116dae997697bc56e2ff1946895 Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Thu, 20 Oct 2016 15:53:31 -0700 Subject: [PATCH] Removing a test that is not necessary. --- .../GivenThatIWantToMigratePackOptions.cs | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackOptions.cs b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackOptions.cs index 7c59346c5..a76aa7d28 100644 --- a/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackOptions.cs +++ b/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigratePackOptions.cs @@ -260,26 +260,6 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests contentItems.First().GetMetadataWithName("PackagePath").Value.Should().BeEmpty(); } - [Fact] - public void Migrating_FullPath_Files_preserves_FullPath_in_content_include() - { - var mockProj = RunPackOptionsRuleOnPj(@" - { - ""packOptions"": { - ""files"": { - ""include"": [""c:/path/to/some/file.cs""] - } - } - }"); - - var contentItems = mockProj.Items - .Where(item => item.ItemType.Equals("Content", StringComparison.Ordinal)) - .Where(item => item.GetMetadataWithName("Pack").Value == "true"); - - contentItems.Count().Should().Be(1); - contentItems.First().Include.Should().Be(@"c:\path\to\some\file.cs"); - } - private ProjectRootElement RunPackOptionsRuleOnPj(string packOptions, string testDirectory = null) { testDirectory = testDirectory ?? Temp.CreateDirectory().Path;