chore: test 44 shell script fixes
This commit is contained in:
parent
5b81042614
commit
19afb95dd7
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue