File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -133,21 +133,21 @@ func TestWriteJSON(t *testing.T) {
133133func TestCleanPath (t * testing.T ) {
134134 path := CleanPath ("" )
135135 if path != "" {
136- t .Errorf ("expected to received empty string and received %s" , path )
136+ t .Errorf ("expected to receive empty string and received %s" , path )
137137 }
138138
139139 path = CleanPath ("rootfs" )
140140 if path != "rootfs" {
141- t .Errorf ("expected to received 'rootfs' and received %s" , path )
141+ t .Errorf ("expected to receive 'rootfs' and received %s" , path )
142142 }
143143
144144 path = CleanPath ("../../../var" )
145145 if path != "var" {
146- t .Errorf ("expected to received 'var' and received %s" , path )
146+ t .Errorf ("expected to receive 'var' and received %s" , path )
147147 }
148148
149149 path = CleanPath ("/../../../var" )
150150 if path != "/var" {
151- t .Errorf ("expected to received '/var' and received %s" , path )
151+ t .Errorf ("expected to receive '/var' and received %s" , path )
152152 }
153153}
You can’t perform that action at this time.
0 commit comments