Skip to content

Commit fa5cdf5

Browse files
Ja bist du narrischJa bist du narrisch
authored andcommitted
Minor changes
1 parent df5f834 commit fa5cdf5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Migrator.Tests/Providers/SQLite/SQLiteTransformationProvider_GetUniques.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ public void GetUniques_Success()
4545
Assert.That(uniqueConstraints.Single(x => x.Name == uniqueConstraintName1).KeyColumns, Is.EqualTo([property3]));
4646
Assert.That(uniqueConstraints.Single(x => x.Name == uniqueConstraintName2).KeyColumns, Is.EqualTo([property4, property5]));
4747

48-
Assert.That(sql, Does.EndWith("CONSTRAINT UniqueConstraint1 UNIQUE (Property3), CONSTRAINT sqlite_autoindex_TableA_1 UNIQUE (Property2), CONSTRAINT UniqueConstraint2 UNIQUE (Property4, Property5))"));
48+
Assert.That(sql, Does.Contain("CONSTRAINT UniqueConstraint1 UNIQUE (Property3)"));
49+
Assert.That(sql, Does.Contain("CONSTRAINT UniqueConstraint2 UNIQUE (Property4, Property5)"));
50+
Assert.That(sql, Does.Contain("CONSTRAINT sqlite_autoindex_TableA_1 UNIQUE (Property2)"));
4951
}
5052
}

0 commit comments

Comments
 (0)