Skip to content

Commit a372a14

Browse files
committed
Return back correct check in tests for simple storages
1 parent c059f1e commit a372a14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orm/Xtensive.Orm.Tests.Sql/MakeNamesUnreadableTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ private void TestQueryNamesUnreadable(ISqlCompileUnit query, Schema defaultSchem
402402
}
403403
else {
404404
var compilerConfiguration = new SqlCompilerConfiguration() { SharedStorageSchema = true };
405-
_ = Assert.Throws<InvalidOperationException>(() => queryText = Driver.Compile(query, compilerConfiguration).GetCommandText());
405+
Assert.DoesNotThrow(() => queryText = Driver.Compile(query, compilerConfiguration).GetCommandText());
406406

407407
var postCompilerConfiguration = new SqlPostCompilerConfiguration(emptyMap, emptyMap);
408408

0 commit comments

Comments
 (0)