File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ func TestContext(t *testing.T) {
187
187
err = c .Attachment ("_fixture/images/walle.png" , "walle.png" )
188
188
if assert .NoError (t , err ) {
189
189
assert .Equal (t , http .StatusOK , rec .Code )
190
- assert .Equal (t , "attachment; filename=walle.png" , rec .Header ().Get (HeaderContentDisposition ))
190
+ assert .Equal (t , "attachment; filename=\" walle.png\" " , rec .Header ().Get (HeaderContentDisposition ))
191
191
assert .Equal (t , 219885 , rec .Body .Len ())
192
192
}
193
193
@@ -197,7 +197,7 @@ func TestContext(t *testing.T) {
197
197
err = c .Inline ("_fixture/images/walle.png" , "walle.png" )
198
198
if assert .NoError (t , err ) {
199
199
assert .Equal (t , http .StatusOK , rec .Code )
200
- assert .Equal (t , "inline; filename=walle.png" , rec .Header ().Get (HeaderContentDisposition ))
200
+ assert .Equal (t , "inline; filename=\" walle.png\" " , rec .Header ().Get (HeaderContentDisposition ))
201
201
assert .Equal (t , 219885 , rec .Body .Len ())
202
202
}
203
203
You can’t perform that action at this time.
0 commit comments