From a8eec48c9fcf463c1ea79db3ec1b7082a84e8030 Mon Sep 17 00:00:00 2001 From: John Robinson <38763864+smartyjohn@users.noreply.github.com> Date: Fri, 11 Aug 2023 08:57:09 -0600 Subject: [PATCH] Latest dependencies. --- csv/column_scanner_test.go | 4 ++-- csv/scanner_test.go | 8 ++++---- csv/struct_scanner_test.go | 4 ++-- fields/scanner_test.go | 4 ++-- fixedwidth/scanner_test.go | 4 ++-- go.mod | 4 ++-- go.sum | 8 ++++---- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/csv/column_scanner_test.go b/csv/column_scanner_test.go index 4537ab4..945ae8b 100644 --- a/csv/column_scanner_test.go +++ b/csv/column_scanner_test.go @@ -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) { diff --git a/csv/scanner_test.go b/csv/scanner_test.go index 2b729fa..f52174b 100644 --- a/csv/scanner_test.go +++ b/csv/scanner_test.go @@ -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) { @@ -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}, }) } @@ -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}}, }) } diff --git a/csv/struct_scanner_test.go b/csv/struct_scanner_test.go index 635d23c..803d60e 100644 --- a/csv/struct_scanner_test.go +++ b/csv/struct_scanner_test.go @@ -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) { diff --git a/fields/scanner_test.go b/fields/scanner_test.go index 97c78f5..bb83054 100644 --- a/fields/scanner_test.go +++ b/fields/scanner_test.go @@ -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) { diff --git a/fixedwidth/scanner_test.go b/fixedwidth/scanner_test.go index 495d910..d5af93c 100644 --- a/fixedwidth/scanner_test.go +++ b/fixedwidth/scanner_test.go @@ -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) { diff --git a/go.mod b/go.mod index 0e5263a..f707980 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index 6da3917..90e0e4b 100644 --- a/go.sum +++ b/go.sum @@ -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=