File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ func (s *PackSuite) TestBasic(c *C) {
73
73
c .Assert (err , IsNil )
74
74
size := 249
75
75
for _ , file := range s .files {
76
- size += len (cleanPath (file ))
76
+ size += len (siva . ToSafePath (file ))
77
77
}
78
78
c .Assert (int (fi .Size ()), Equals , size )
79
79
@@ -100,7 +100,7 @@ func (s *PackSuite) TestDir(c *C) {
100
100
c .Assert (err , IsNil )
101
101
size := 249
102
102
for _ , file := range s .files {
103
- size += len (cleanPath (file ))
103
+ size += len (siva . ToSafePath (file ))
104
104
}
105
105
c .Assert (int (fi .Size ()), Equals , size )
106
106
@@ -133,7 +133,7 @@ func (s *PackSuite) TestAppend(c *C) {
133
133
134
134
size := 277
135
135
for _ , file := range s .files {
136
- size += len (cleanPath (file ))
136
+ size += len (siva . ToSafePath (file ))
137
137
}
138
138
c .Assert (int (fi .Size ()), Equals , size )
139
139
You can’t perform that action at this time.
0 commit comments