Commit c9f8116 1 parent 1f4eb55 commit c9f8116 Copy full SHA for c9f8116
File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,8 @@ func Test_Spaced(t *testing.T) {
39
39
actual := hyperspaced .Spaced (testCase .input )
40
40
if actual != testCase .expected {
41
41
t .Errorf (
42
- "expected %+q (%s), received %+q (%s)" ,
42
+ "expected %+[1] q (%[1] s), received %+[2] q (%[2] s)" ,
43
43
testCase .expected ,
44
- testCase .expected ,
45
- actual ,
46
44
actual ,
47
45
)
48
46
}
@@ -76,10 +74,8 @@ func Test_SpacedN(t *testing.T) {
76
74
actual := hyperspaced .SpacedN (testCase .inputString , testCase .inputN )
77
75
if actual != testCase .expected {
78
76
t .Errorf (
79
- "expected %+q (%s), received %+q (%s)" ,
77
+ "expected %+[1] q (%[1] s), received %+[2] q (%[2] s)" ,
80
78
testCase .expected ,
81
- testCase .expected ,
82
- actual ,
83
79
actual ,
84
80
)
85
81
}
You can’t perform that action at this time.
0 commit comments