diff options
Diffstat (limited to 'src/mime/testdata')
-rw-r--r-- | src/mime/testdata/test.types | 8 | ||||
-rw-r--r-- | src/mime/testdata/test.types.globs2 | 14 | ||||
-rw-r--r-- | src/mime/testdata/test.types.plan9 | 8 |
3 files changed, 30 insertions, 0 deletions
diff --git a/src/mime/testdata/test.types b/src/mime/testdata/test.types new file mode 100644 index 0000000..9b040ed --- /dev/null +++ b/src/mime/testdata/test.types @@ -0,0 +1,8 @@ +# Copyright 2010 The Go Authors. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + + + # mime package test +application/test t1 # Simple test +text/test t2 # Text test diff --git a/src/mime/testdata/test.types.globs2 b/src/mime/testdata/test.types.globs2 new file mode 100644 index 0000000..4606d98 --- /dev/null +++ b/src/mime/testdata/test.types.globs2 @@ -0,0 +1,14 @@ +# Copyright 2021 The Go Authors. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + + +# mime package test for globs2 +50:document/test:*.t3 +50:example/test:*.t4 +50:text/plain:*,v +50:application/x-trash:*~ +30:example/do-not-use:*.t4 +10:example/glob-question-mark:*.foo?ar +10:example/glob-asterisk:*.foo*r +10:example/glob-range:*.foo[1-3] diff --git a/src/mime/testdata/test.types.plan9 b/src/mime/testdata/test.types.plan9 new file mode 100644 index 0000000..19dbf41 --- /dev/null +++ b/src/mime/testdata/test.types.plan9 @@ -0,0 +1,8 @@ +# Copyright 2013 The Go Authors. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + + + # mime package test +.t1 application test - y # Simple test +.t2 text test - y # Text test |