mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 20:45:29 +00:00
add test framework and a basic test
This commit is contained in:
parent
be2d6f9f00
commit
f6ba98aa24
15 changed files with 359 additions and 0 deletions
12
tests/data/content/.meta
Normal file
12
tests/data/content/.meta
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# test setting a mime type
|
||||
index.gmi: text/gemini
|
||||
# test globs and setting parameters
|
||||
*.de.gmi: ;lang=de
|
||||
# test double star globs
|
||||
**/*.nl.gmi: ;lang=nl
|
||||
# test setting multiple parameters
|
||||
test.gmi: ;lang=en ;charset=us-ascii
|
||||
# test setting data for nonexistent files
|
||||
gone.txt: 52 This file is no longer available.
|
||||
# test setting data for files in other directories
|
||||
example.com/index.gmi: ;lang=en-US
|
||||
Loading…
Add table
Add a link
Reference in a new issue