File tree 7 files changed +13
-13
lines changed 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ package convey
4
4
5
5
//go:generate ./update_assertions.sh
6
6
7
- import "github.com/smartystreets /assertions"
7
+ import "github.com/smarty /assertions"
8
8
9
- // These assertions are forwarded from github.com/smartystreets /assertions
9
+ // These assertions are forwarded from github.com/smarty /assertions
10
10
// in order to make convey self-contained.
11
11
var (
12
12
ShouldAlmostEqual = assertions .ShouldAlmostEqual
Original file line number Diff line number Diff line change 5
5
"os"
6
6
7
7
"github.com/jtolds/gls"
8
- "github.com/smartystreets /assertions"
8
+ "github.com/smarty /assertions"
9
9
"github.com/smartystreets/goconvey/convey/reporting"
10
10
)
11
11
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ func removePackagePath(name string) string {
76
76
77
77
/////////////////// FailureView ////////////////////////
78
78
79
- // This struct is also declared in github.com/smartystreets /assertions.
79
+ // FailureView is also declared in github.com/smarty /assertions.
80
80
// The json struct tags should be equal in both declarations.
81
81
type FailureView struct {
82
82
Message string `json:"Message"`
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ func TestComparisonFailureDeserializedAndReported(t *testing.T) {
63
63
So ("hi" , ShouldEqual , "bye" )
64
64
})
65
65
66
- expectEqual (t , " Begin|A|Failure(bye/hi )|Exit|End" , myReporter .wholeStory ())
66
+ expectEqual (t , ` Begin|A|Failure(" bye"/"hi" )|Exit|End` , myReporter .wholeStory ())
67
67
}
68
68
69
69
func TestNestedFailureReported (t * testing.T ) {
@@ -311,7 +311,7 @@ func (self *fakeReporter) wholeStory() string {
311
311
312
312
type fakeGoTest struct {}
313
313
314
- func (self * fakeGoTest ) Fail () {}
314
+ func (self * fakeGoTest ) Fail () {}
315
315
func (self * fakeGoTest ) Fatalf (format string , args ... any ) {}
316
316
317
317
var test t = new (fakeGoTest )
Original file line number Diff line number Diff line change 3
3
cd " $( dirname $( realpath $0 ) ) "
4
4
5
5
ASSERTIONS=($(
6
- go tool nm " $( go list -export -f ' {{.Export}}' github.com/smartystreets /assertions) " | \
7
- awk ' / T github\.com\/smartystreets \/assertions\.Should/{split($3, a, "."); print a[3]}' | \
6
+ go tool nm " $( go list -export -f ' {{.Export}}' github.com/smarty /assertions) " | \
7
+ awk ' / T github\.com\/smarty \/assertions\.Should/{split($3, a, "."); print a[3]}' | \
8
8
sort | uniq) )
9
9
10
10
(
@@ -14,9 +14,9 @@ ASSERTIONS=($(
14
14
echo
15
15
echo " //go:generate ./update_assertions.sh"
16
16
echo
17
- echo " import \" github.com/smartystreets /assertions\" "
17
+ echo " import \" github.com/smarty /assertions\" "
18
18
echo
19
- echo " // These assertions are forwarded from github.com/smartystreets /assertions"
19
+ echo " // These assertions are forwarded from github.com/smarty /assertions"
20
20
echo " // in order to make convey self-contained."
21
21
echo " var ("
22
22
Original file line number Diff line number Diff line change 4
4
5
5
require (
6
6
github.com/jtolds/gls v4.20.0+incompatible
7
- github.com/smartystreets /assertions v1.13.1
7
+ github.com/smarty /assertions v1.15.0
8
8
golang.org/x/tools v0.7.0
9
9
)
10
10
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ github.com/gopherjs/gopherjs v1.17.2 h1:fQnZVsXk8uxXIStYb0N4bGk7jeyTalG/wsZjQ25d
2
2
github.com/gopherjs/gopherjs v1.17.2 /go.mod h1:pRRIvn/QzFLrKfvEz3qUuEhtE/zLCWfreZ6J5gM2i+k =
3
3
github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo =
4
4
github.com/jtolds/gls v4.20.0+incompatible /go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU =
5
- github.com/smartystreets /assertions v1.13.1 h1:Ef7KhSmjZcK6AVf9YbJdvPYG9avaF0ZxudX+ThRdWfU =
6
- github.com/smartystreets /assertions v1.13.1 /go.mod h1:cXr/IwVfSo/RbCSPhoAPv73p3hlSdrBH/b3SdnW/LMY =
5
+ github.com/smarty /assertions v1.15.0 h1:cR//PqUBUiQRakZWqBiFFQ9wb8emQGDb0HeGdqGByCY =
6
+ github.com/smarty /assertions v1.15.0 /go.mod h1:yABtdzeQs6l1brC900WlRNwj6ZR55d7B+E8C6HtKdec =
7
7
golang.org/x/mod v0.9.0 h1:KENHtAZL2y3NLMYZeHY9DW8HW8V+kQyJsY/V9JlKvCs =
8
8
golang.org/x/mod v0.9.0 /go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs =
9
9
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o =
You can’t perform that action at this time.
0 commit comments