From 3550716e9d8f4124ebd1d0b3651c1685b92b2191 Mon Sep 17 00:00:00 2001 From: sethreno Date: Fri, 22 Apr 2016 09:35:50 -0500 Subject: [PATCH] Don't check for ASC on indexes. I removed this behavior as ASC is the default. --- test/DatabaseTester.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/DatabaseTester.cs b/test/DatabaseTester.cs index 2d80651d..6a43e69b 100644 --- a/test/DatabaseTester.cs +++ b/test/DatabaseTester.cs @@ -121,7 +121,7 @@ public void TestTableIndexesWithFilter() { var result = db.ScriptCreate(); TestHelper.DropDb("TEST"); - Assert.That(result, Is.StringContaining("CREATE NONCLUSTERED INDEX [MyIndex] ON [dbo].[MyTable] ([Id] ASC) WHERE ([EndDate] IS NULL)")); + Assert.That(result, Is.StringContaining("CREATE NONCLUSTERED INDEX [MyIndex] ON [dbo].[MyTable] ([Id]) WHERE ([EndDate] IS NULL)")); } [Test] @@ -140,7 +140,7 @@ public void TestViewIndexes() { var result = db.ScriptCreate(); TestHelper.DropDb("TEST"); - Assert.That(result, Is.StringContaining("CREATE UNIQUE CLUSTERED INDEX [MyIndex] ON [dbo].[MyView] ([Id] ASC, [Name] ASC)")); + Assert.That(result, Is.StringContaining("CREATE UNIQUE CLUSTERED INDEX [MyIndex] ON [dbo].[MyView] ([Id], [Name])")); } [Test] @@ -279,7 +279,7 @@ CREATE TYPE [dbo].[MyTableType] AS TABLE( [Value] [varchar](50) NOT NULL, PRIMARY KEY CLUSTERED ( - [ID] ASC + [ID] ) )