Idris2-boot/libs/network/lib-tests

12 lines
218 B
Plaintext
Raw Normal View History

#!/bin/sh
${IDRIS2} --exec main Echo.idr > build/output
if ! [ -z "$(diff build/output expected)" ]; then
echo "TEST FAILURE: unexpected build/output: "
cat build/output
exit 2
else
echo "TEST SUCCESS"
fi