Skip to content

Commit

Permalink
Added uninstall test
Browse files Browse the repository at this point in the history
  • Loading branch information
DhavalKapil committed Jun 8, 2016
1 parent be44412 commit 8e79c0e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,21 @@ if [ $? == 1 ]
then
exit 1
fi

luaver uninstall 5.3.1

lua

if [ $? == 0 ]
then
exit 1
fi

luaver use 5.3.2

# Confirming
version_string=$(lua -v)
if test "${version_string#*5.3.2}" == "${version_string}"
then
exit 1
fi

0 comments on commit 8e79c0e

Please sign in to comment.