Skip to content

Commit

Permalink
Remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
vplauzon committed Oct 27, 2023
1 parent 97faaa3 commit ab9b0a1
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions code/DeltaKustoUnitTest/Delta/DeltaFunctionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,25 +121,5 @@ public void DetectDuplicates()
{
}
}

[Fact]
public void DetectIntruder()
{
try
{
var function = ParseOneCommand(".create-or-alter function YourFunction() { 72 }\n\n");
var commands = new CommandBase[]
{
function,
new DropFunctionCommand(new EntityName("myFunction"))
};
var database = DatabaseModel.FromCommands(commands);

throw new InvalidOperationException("This should have failed by now");
}
catch (DeltaException)
{
}
}
}
}

0 comments on commit ab9b0a1

Please sign in to comment.