diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mime-detection/list | 2 | ||||
-rw-r--r-- | tests/mime-detection/test.toml | 23 |
2 files changed, 25 insertions, 0 deletions
diff --git a/tests/mime-detection/list b/tests/mime-detection/list index ae8f3c45..9371ec12 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -333,6 +333,8 @@ html5.css text/css ox # Copied from http://www.w3.org/TR/html5/offline.html#manifests test.manifest text/cache-manifest test.yaml application/x-yaml +# Copied from https://toml.io/en/ +test.toml application/toml ox # hand-made mysum.m text/x-matlab x # taken from Octave 3.2 sources diff --git a/tests/mime-detection/test.toml b/tests/mime-detection/test.toml new file mode 100644 index 00000000..3fe43f07 --- /dev/null +++ b/tests/mime-detection/test.toml @@ -0,0 +1,23 @@ +# This is a TOML document + +title = "TOML Example" + +[owner] +name = "Tom Preston-Werner" +dob = 1979-05-27T07:32:00-08:00 + +[database] +enabled = true +ports = [ 8000, 8001, 8002 ] +data = [ ["delta", "phi"], [3.14] ] +temp_targets = { cpu = 79.5, case = 72.0 } + +[servers] + +[servers.alpha] +ip = "10.0.0.1" +role = "frontend" + +[servers.beta] +ip = "10.0.0.2" +role = "backend" |