Skip to content

Commit

Permalink
tests: composerversion test failed due to composer version output cha…
Browse files Browse the repository at this point in the history
…nging (#121)
  • Loading branch information
rfay authored Mar 11, 2024
1 parent 947019b commit 3b7982a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/composerversion.bats
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ teardown() {
base=$(basename $t)
expectedComposerVersion=${base#*_}
echo "# base=${base} expectedComposerVersion=${expectedComposerVersion}" >&3
run ddev exec "composer --version | awk '{print \$3}'" 2>/dev/null
run ddev exec "composer --version 2>&1 | awk '/^Composer/ {print \$3}'" 2>/dev/null

# If version has a caret, then we just want the first number
# Otherwise we use the explicit value provided
Expand Down

0 comments on commit 3b7982a

Please sign in to comment.