gmi-web/test.sh
Talon Poole 86e9e8b660 fix lists
add test
2021-02-02 22:02:09 +00:00

10 lines
349 B
Bash
Executable file

./cli.js --lang en --images --audio --video "example/*.gmi"
if cmp -s "example/test.html" "example/expected.html"; then
printf "PASS: test.html matches expected.html!\n"
else
printf "FAIL: test.html DOES NOT match expected.html!\n"
cmp "example/test.html" "example/expected.html"
diff "example/test.html" "example/expected.html"
exit 1
fi