aboutsummaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-04-07 16:21:56 +0000
committerOmar Polo <op@omarpolo.com>2022-04-07 16:21:56 +0000
commit9448a01fdb793e37f805f3246676f853f69d1766 (patch)
tree9ed21f64355f13246961bd278fd0e18c324e2222 /regress
parent6468868fee132f062133ad9a1d373ef213e689f1 (diff)
use the types block instead of `map' in the tests too
Diffstat (limited to 'regress')
-rw-r--r--regress/tests.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/regress/tests.sh b/regress/tests.sh
index 0ee543b..41839d3 100644
--- a/regress/tests.sh
+++ b/regress/tests.sh
@@ -62,7 +62,11 @@ test_dont_execute_scripts() {
}
test_custom_mime() {
- setup_simple_test 'map "text/x-funny" to-ext "gmi"' ''
+ setup_simple_test '
+types {
+ text/x-funny gmi
+}
+' ''
fetch_hdr /
check_reply "20 text/x-funny"