minishift/minishift-centos-iso

Fix delete test case

Closed this issue · 1 comments

The delete test case is having unnecessary code

  $BINARY delete --force
  exit_with_message "$?" "Error deleting Minishift VM"
  output=`$BINARY status`
  if [ "$1" != "$2" ]; then
    echo "Expected '$1' equal to '$2'"
    exit 1
  fi
  print_success_message "Deleting VM"

The checking of status is unwanted and if condition is also wrong(bad copy paste).

Resolved via #175