Skip to content

Commit

Permalink
re-format
Browse files Browse the repository at this point in the history
  • Loading branch information
afragen committed Jan 29, 2024
1 parent 014d45d commit 27a5a64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/phpunit/tests/functions/isWpVersionCompatible.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,22 +120,22 @@ public function test_is_wp_version_compatible_silent_fix( $required, $wp, $expec
public function data_is_wp_version_compatible_silent_fix() {
return array(
// Improper WP version.
'improper trailing x.x.0' => array(
'improper trailing x.x.0' => array(
'required' => '5.2.0',
'wp' => '5.2',
'expected' => true,
),
'incorrect trailing x.0.0' => array(
'incorrect trailing x.0.0' => array(
'required' => '5.0.0',
'wp' => '5.0',
'expected' => true,
),
'correct version ending with x.0' => array(
'correct version ending with x.0' => array(
'required' => '5.0',
'wp' => '5.0',
'expected' => true,
),
'correct version with x.0.x in middle of version' => array(
'correct version with x.0.x in middle of version' => array(
'required' => '5.0.1',
'wp' => '5.0.1',
'expected' => true,
Expand Down

0 comments on commit 27a5a64

Please sign in to comment.