Skip to content

Commit 8503110

Browse files
authored
fix some comments (#1417)
Signed-off-by: cui fliter <[email protected]>
1 parent faedeff commit 8503110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2703,7 +2703,7 @@ func TestContextBeginIsolationLevel(t *testing.T) {
27032703
if err := row.Scan(&v); err != nil {
27042704
dbt.Fatal(err)
27052705
}
2706-
// Because writer transaction wasn't commited yet, it should be available
2706+
// Because writer transaction wasn't committed yet, it should be available
27072707
if v != 0 {
27082708
dbt.Errorf("expected val to be 0, got %d", v)
27092709
}
@@ -2717,7 +2717,7 @@ func TestContextBeginIsolationLevel(t *testing.T) {
27172717
if err := row.Scan(&v); err != nil {
27182718
dbt.Fatal(err)
27192719
}
2720-
// Data written by writer transaction is already commited, it should be selectable
2720+
// Data written by writer transaction is already committed, it should be selectable
27212721
if v != 1 {
27222722
dbt.Errorf("expected val to be 1, got %d", v)
27232723
}

0 commit comments

Comments
 (0)