@@ -1,11 +1,6 @@
11#!/usr/bin/env bash
22# Tests that documentation only is written when safe
33mkdir do_not_delete_doc
4−idris --mkdoc package.ipkg > lines
5−echo Expects exit status 1: $?
6−echo Expects 2 lines of output:
7−wc -l lines
8−echo Expects the first line to be type checking:
9−grep "Type checking \\./A\\.idr" lines
10−echo Cannot check the second line as it contains a host-dependent string.
11−rm -rf do_not_delete_doc *.ibc lines
4+idris --mkdoc package.ipkg > nowhere
5+echo Exit status \(expects 1\): $?
6+rm -rf do_not_delete_doc *.ibc nowhere