Skip to content

Commit 65d0fa5

Browse files
committed
Fix some confusing cases
1 parent ca7aa5c commit 65d0fa5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/NHibernate.Test/SystemTransactions/DistributedSystemTransactionFixture.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ public void CanUseSessionOutsideOfScopeAfterScope(bool explicitFlush)
542542
if (count != 1)
543543
// We are not testing that here, so just issue a warning. Do not use DodgeTransactionCompletionDelayIfRequired
544544
// before previous assert. We want to ascertain the session is usable in any cases.
545-
Assert.Warn($"Unexpected entity count: {count} instead of {1}. The transaction seems to have a delayed commit.");
545+
Assert.Warn($"Unexpected entity count: {count} instead of 1. The transaction seems to have a delayed commit.");
546546
}
547547
}
548548

src/NHibernate.Test/SystemTransactions/SystemTransactionFixture.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ public void CanUseSessionOutsideOfScopeAfterScope(bool explicitFlush)
287287
if (count != 1)
288288
// We are not testing that here, so just issue a warning. Do not use DodgeTransactionCompletionDelayIfRequired
289289
// before previous assert. We want to ascertain the session is usable in any cases.
290-
Assert.Warn($"Unexpected entity count: {count} instead of {1}. The transaction seems to have a delayed commit.");
290+
Assert.Warn($"Unexpected entity count: {count} instead of 1. The transaction seems to have a delayed commit.");
291291
}
292292
}
293293

0 commit comments

Comments
 (0)