Skip to content

Commit

Permalink
fix some comments (#1417)
Browse files Browse the repository at this point in the history
Signed-off-by: cui fliter <[email protected]>
  • Loading branch information
cuishuang authored Apr 25, 2023
1 parent faedeff commit 8503110
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2703,7 +2703,7 @@ func TestContextBeginIsolationLevel(t *testing.T) {
if err := row.Scan(&v); err != nil {
dbt.Fatal(err)
}
// Because writer transaction wasn't commited yet, it should be available
// Because writer transaction wasn't committed yet, it should be available
if v != 0 {
dbt.Errorf("expected val to be 0, got %d", v)
}
Expand All @@ -2717,7 +2717,7 @@ func TestContextBeginIsolationLevel(t *testing.T) {
if err := row.Scan(&v); err != nil {
dbt.Fatal(err)
}
// Data written by writer transaction is already commited, it should be selectable
// Data written by writer transaction is already committed, it should be selectable
if v != 1 {
dbt.Errorf("expected val to be 1, got %d", v)
}
Expand Down

0 comments on commit 8503110

Please sign in to comment.