Skip to content

Commit

Permalink
Latest dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
smartyjohn committed Aug 11, 2023
1 parent e957626 commit a8eec48
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions csv/column_scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"testing"

"github.com/smartystreets/assertions/should"
"github.com/smartystreets/gunit"
"github.com/smarty/assertions/should"
"github.com/smarty/gunit"
)

func TestColumnScannerFixture(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions csv/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"testing"

"github.com/smartystreets/assertions/should"
"github.com/smartystreets/gunit"
"github.com/smarty/assertions/should"
"github.com/smarty/gunit"
)

func TestScanAllFixture(t *testing.T) {
Expand Down Expand Up @@ -58,7 +58,7 @@ func (this *ScanAllFixture) TestInconsistentFieldCounts_ContinueOnError() {
scanned := this.scanAll(csvCanonInconsistentFieldCounts, ContinueOnError(true))
this.So(scanned, should.Resemble, []Record{
{line: 1, record: []string{"1", "2", "3"}, err: nil},
{line: 2, record: []string{"1", "2", "3", "4"}, err: &csv.ParseError{StartLine: 2, Line: 2, Column: 0, Err: csv.ErrFieldCount}},
{line: 2, record: []string{"1", "2", "3", "4"}, err: &csv.ParseError{StartLine: 2, Line: 2, Column: 1, Err: csv.ErrFieldCount}},
{line: 3, record: []string{"1", "2", "3"}, err: nil},
})
}
Expand All @@ -67,7 +67,7 @@ func (this *ScanAllFixture) TestInconsistentFieldCounts_HaltOnError() {
scanned := this.scanAll(csvCanonInconsistentFieldCounts)
this.So(scanned, should.Resemble, []Record{
{line: 1, record: []string{"1", "2", "3"}, err: nil},
{line: 2, record: nil, err: &csv.ParseError{StartLine: 2, Line: 2, Column: 0, Err: csv.ErrFieldCount}},
{line: 2, record: nil, err: &csv.ParseError{StartLine: 2, Line: 2, Column: 1, Err: csv.ErrFieldCount}},
})
}

Expand Down
4 changes: 2 additions & 2 deletions csv/struct_scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package csv
import (
"testing"

"github.com/smartystreets/assertions/should"
"github.com/smartystreets/gunit"
"github.com/smarty/assertions/should"
"github.com/smarty/gunit"
)

func TestStructScannerFixture(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions fields/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"testing"

"github.com/smartystreets/assertions"
"github.com/smartystreets/assertions/should"
"github.com/smarty/assertions"
"github.com/smarty/assertions/should"
)

func TestFieldsScanner(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions fixedwidth/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"
"testing"

"github.com/smartystreets/assertions/should"
"github.com/smartystreets/gunit"
"github.com/smarty/assertions/should"
"github.com/smarty/gunit"
)

func TestScannerFixture(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/smartystreets/scanners
go 1.17

require (
github.com/smartystreets/assertions v1.2.0
github.com/smartystreets/gunit v1.4.2
github.com/smarty/assertions v1.15.1
github.com/smarty/gunit v1.5.0
)
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/smartystreets/assertions v1.2.0 h1:42S6lae5dvLc7BrLu/0ugRtcFVjoJNMC/N3yZFZkDFs=
github.com/smartystreets/assertions v1.2.0/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo=
github.com/smartystreets/gunit v1.4.2 h1:tyWYZffdPhQPfK5VsMQXfauwnJkqg7Tv5DLuQVYxq3Q=
github.com/smartystreets/gunit v1.4.2/go.mod h1:ZjM1ozSIMJlAz/ay4SG8PeKF00ckUp+zMHZXV9/bvak=
github.com/smarty/assertions v1.15.1 h1:812oFiXI+G55vxsFf+8bIZ1ux30qtkdqzKbEFwyX3Tk=
github.com/smarty/assertions v1.15.1/go.mod h1:yABtdzeQs6l1brC900WlRNwj6ZR55d7B+E8C6HtKdec=
github.com/smarty/gunit v1.5.0 h1:OmG6a/rgi7qCjlQis6VjXbvx/WqZ8I6xSlbfN4YB5MY=
github.com/smarty/gunit v1.5.0/go.mod h1:uAeNibUD292KZRcg5OTy7lb6WR5++UC0BQOzNuiRzpU=

0 comments on commit a8eec48

Please sign in to comment.