From cba235ddfe36af6390317dd1f02fe2d86b36327f Mon Sep 17 00:00:00 2001 From: vplauzon Date: Sat, 21 Oct 2023 13:41:02 -0400 Subject: [PATCH] Fix build --- .../AlterRestrictedViewPluralPolicyTest.cs | 14 -------------- .../Policies/AlterRestrictedViewPolicyTest.cs | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/code/DeltaKustoUnitTest/CommandParsing/Policies/AlterRestrictedViewPluralPolicyTest.cs b/code/DeltaKustoUnitTest/CommandParsing/Policies/AlterRestrictedViewPluralPolicyTest.cs index a43f720..2338775 100644 --- a/code/DeltaKustoUnitTest/CommandParsing/Policies/AlterRestrictedViewPluralPolicyTest.cs +++ b/code/DeltaKustoUnitTest/CommandParsing/Policies/AlterRestrictedViewPluralPolicyTest.cs @@ -55,19 +55,5 @@ private void TestRestrictedViewPolicy(IEnumerable tableNames, bool areEn Assert.Contains(name, observedNames); } } - - private static string GetActualTableName(string tableName) - { - var actualTableName = tableName.Split('.').Last(); - - if (actualTableName.StartsWith('[')) - { - return actualTableName.Substring(2, actualTableName.Length - 4); - } - else - { - return actualTableName; - } - } } } \ No newline at end of file diff --git a/code/DeltaKustoUnitTest/CommandParsing/Policies/AlterRestrictedViewPolicyTest.cs b/code/DeltaKustoUnitTest/CommandParsing/Policies/AlterRestrictedViewPolicyTest.cs index 15f6104..418b9bf 100644 --- a/code/DeltaKustoUnitTest/CommandParsing/Policies/AlterRestrictedViewPolicyTest.cs +++ b/code/DeltaKustoUnitTest/CommandParsing/Policies/AlterRestrictedViewPolicyTest.cs @@ -51,19 +51,5 @@ private void TestRestrictedViewPolicy(string tableName, bool isEnabled) actualTableName, ((AlterRestrictedViewPolicyCommand)command).TableName.Name); } - - private static string GetActualTableName(string tableName) - { - var actualTableName = tableName.Split('.').Last(); - - if (actualTableName.StartsWith('[')) - { - return actualTableName.Substring(2, actualTableName.Length - 4); - } - else - { - return actualTableName; - } - } } } \ No newline at end of file