Skip to content

Commit

Permalink
improve tests coverage of drupal version constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
WengerK committed Jun 26, 2024
1 parent 08606a6 commit 851773c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 11/11.0/tests/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ commandTests:
- name: 'Drupal version'
command: 'drush'
args: ['status']
expectedOutput: ['Drupal version\s+:\s+11\.0[\-alpha\d|\-beta\d|\-dev|\-rc\d|\d*]']
expectedOutput: ['Drupal version\s+:\s+11\.0(\.\d)*(\-alpha\d|\-beta\d|\-dev|\-rc\d|\d*)']
- name: 'Drupal Core Dev version'
command: bash
args: ['-c', 'composer show drupal/core-dev']
expectedOutput: ['versions\s+:\s\* 11\.x[\-alpha\d|\-beta\d|\-dev|\-rc\d|\d*]']
expectedOutput: ['versions\s+:\s\* 11\.0(\.\d)*(\-alpha\d|\-beta\d|\-dev|\-rc\d|\d*)']
- name: 'Drush location'
command: 'drush'
args: ['status']
Expand Down

0 comments on commit 851773c

Please sign in to comment.