Skip to content

Commit

Permalink
Fix some confusing cases
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzik committed Apr 7, 2024
1 parent ca7aa5c commit 65d0fa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ public void CanUseSessionOutsideOfScopeAfterScope(bool explicitFlush)
if (count != 1)
// We are not testing that here, so just issue a warning. Do not use DodgeTransactionCompletionDelayIfRequired
// before previous assert. We want to ascertain the session is usable in any cases.
Assert.Warn($"Unexpected entity count: {count} instead of {1}. The transaction seems to have a delayed commit.");
Assert.Warn($"Unexpected entity count: {count} instead of 1. The transaction seems to have a delayed commit.");
}
}

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

Expand Down

0 comments on commit 65d0fa5

Please sign in to comment.