mirror of https://github.com/omar-polo/gmid.git
use the types block instead of `map' in the tests too
This commit is contained in:
parent
6468868fee
commit
9448a01fdb
|
@ -62,7 +62,11 @@ test_dont_execute_scripts() {
|
||||||
}
|
}
|
||||||
|
|
||||||
test_custom_mime() {
|
test_custom_mime() {
|
||||||
setup_simple_test 'map "text/x-funny" to-ext "gmi"' ''
|
setup_simple_test '
|
||||||
|
types {
|
||||||
|
text/x-funny gmi
|
||||||
|
}
|
||||||
|
' ''
|
||||||
|
|
||||||
fetch_hdr /
|
fetch_hdr /
|
||||||
check_reply "20 text/x-funny"
|
check_reply "20 text/x-funny"
|
||||||
|
|
Loading…
Reference in New Issue