Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
chore: test 44 shell script fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tydeu committed Aug 3, 2022
1 parent de3daae commit d7b2dcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/44/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ echo 'def hello := "old"' > hello/Hello.lean
$LAKE -d hello build --old | tee produced.out
echo 'def hello := "normal"' > hello/Hello.lean
$LAKE -d hello build | tee -a produced.out
if [ "`uname`" = Darwin ]; then
sed -i '' 's/.exe//g' produced.out
else
if [ "$OS" = Windows_NT ]; then
sed -i 's/.exe//g' produced.out
diff --strip-trailing-cr expected.out produced.out
else
diff expected.out produced.out
fi
diff expected.out produced.out

0 comments on commit d7b2dcf

Please sign in to comment.