You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lines from 26 to 30 looks like this
if [[ $WP_VERSION =~ [0-9]+.[0-9]+(.[0-9]+)? ]]; then
WP_TESTS_TAG="tags/$WP_VERSION"
elif [[ $WP_VERSION == 'nightly' || $WP_VERSION == 'trunk' ]]; then
WP_TESTS_TAG="trunk"
else
I'm on ubuntu 16.
The text was updated successfully, but these errors were encountered:
endriu84
changed the title
Syntax error: "(" unexpected (expecting "then")
bin/install-wp-tests.sh: 26 Syntax error
Jun 10, 2017
Hello,
I got this error on every plugin i try to wrap with tests
I use: wp scaffold plugin-tests some-plugin
and I'm getting error when I'm trying to run sh script:
bin/install-wp-tests.sh: 26: bin/install-wp-tests.sh: Syntax error: "(" unexpected (expecting "then")
lines from 26 to 30 looks like this
if [[ $WP_VERSION =~ [0-9]+.[0-9]+(.[0-9]+)? ]]; then
WP_TESTS_TAG="tags/$WP_VERSION"
elif [[ $WP_VERSION == 'nightly' || $WP_VERSION == 'trunk' ]]; then
WP_TESTS_TAG="trunk"
else
I'm on ubuntu 16.
The text was updated successfully, but these errors were encountered: