File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -867,9 +867,9 @@ const FileType = enum {
867
867
try std .testing .expectEqual (@as (? FileType , .@"tar.xz" ), fromContentDisposition ("ATTACHMENT; filename=\" stuff.tar.xz\" " ));
868
868
try std .testing .expectEqual (@as (? FileType , .@"tar.xz" ), fromContentDisposition ("attachment; FileName=\" stuff.tar.xz\" " ));
869
869
try std .testing .expectEqual (@as (? FileType , .@"tar.gz" ), fromContentDisposition ("attachment; FileName*=UTF-8\'\' xyz%2Fstuff.tar.gz" ));
870
+ try std .testing .expectEqual (@as (? FileType , .tar ), fromContentDisposition ("attachment; FileName=\" stuff.tar\" " ));
870
871
871
872
try std .testing .expect (fromContentDisposition ("attachment FileName=\" stuff.tar.gz\" " ) == null );
872
- try std .testing .expect (fromContentDisposition ("attachment; FileName=\" stuff.tar\" " ) == null );
873
873
try std .testing .expect (fromContentDisposition ("attachment; FileName\" stuff.gz\" " ) == null );
874
874
try std .testing .expect (fromContentDisposition ("attachment; size=42" ) == null );
875
875
try std .testing .expect (fromContentDisposition ("inline; size=42" ) == null );
You can’t perform that action at this time.
0 commit comments