Adds completion tests.

Resolves issue #7.
This commit is contained in:
Raphael Reitzig 2018-07-15 12:27:48 +02:00
parent c8a1208c51
commit e13d3f2f50
4 changed files with 177 additions and 4 deletions

10
test/prepare_tests.sh Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
source "${HOME}"/.sdkman/bin/sdkman-init.sh
# Set up an SDK with two installed versions
# --> test of `sdk use` in wrapper.fish
# --> tests in completion.rb
sdk install ant 1.9.9
echo "y" | sdk install ant 1.10.1
sdk default ant 1.10.1