54280ba8d3
use language for <html lang=""> too
11 lines
376 B
Bash
Executable file
11 lines
376 B
Bash
Executable file
rm -rf "example/test.html"
|
|
./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
|