Skip to content

Commit c79cde4

Browse files
authored
fix(testing): Grammar (#1003)
1 parent f4108b2 commit c79cde4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugin/testing_write_delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (s *WriterTestSuite) testDeleteStale(ctx context.Context) error {
4545
totalItems := TotalRows(records)
4646

4747
if totalItems != 1 {
48-
return fmt.Errorf("expected 1 items, got %d", totalItems)
48+
return fmt.Errorf("expected 1 item, got %d", totalItems)
4949
}
5050

5151
bldr = array.NewRecordBuilder(memory.DefaultAllocator, table.ToArrowSchema())

plugin/testing_write_insert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (s *WriterTestSuite) testInsert(ctx context.Context) error {
6666

6767
totalItems = TotalRows(readRecords)
6868
if totalItems != 2 {
69-
return fmt.Errorf("expected 2 item, got %d", totalItems)
69+
return fmt.Errorf("expected 2 items, got %d", totalItems)
7070
}
7171

7272
return nil

plugin/testing_write_migrate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (s *WriterTestSuite) migrate(ctx context.Context, target *schema.Table, sou
7575
if !writeOptionMigrateForce || supportsSafeMigrate {
7676
totalItems = TotalRows(records)
7777
if totalItems != 2 {
78-
return fmt.Errorf("expected 2 item, got %d", totalItems)
78+
return fmt.Errorf("expected 2 items, got %d", totalItems)
7979
}
8080
} else {
8181
totalItems = TotalRows(records)

0 commit comments

Comments
 (0)