WordPress.org

Make WordPress Core

Ticket #53363: 53363-06-follow-up-unicode-char.patch

File 53363-06-follow-up-unicode-char.patch, 1.0 KB (added by jrf, 4 months ago)

Tests/bootstrap: fix unicode char having slipped in Follow up on [51581]

  • tests/phpunit/includes/bootstrap.php

    From 50a993ba93241dec26022a1b5687f0e8278fa001 Mon Sep 17 00:00:00 2001
    From: jrfnl <jrfnl@users.noreply.github.com>
    Date: Sun, 8 Aug 2021 04:41:05 +0200
    Subject: [PATCH] Tests/bootstrap: fix unicode char having slipped in
    
    Follow up on [51581]
    ---
     tests/phpunit/includes/bootstrap.php | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/tests/phpunit/includes/bootstrap.php b/tests/phpunit/includes/bootstrap.php
    index 048e6df55a..659046ebbd 100644
    a b $phpunit_version = tests_get_phpunit_version(); 
    3939
    4040if ( version_compare( $phpunit_version, '5.7.21', '<' ) ) {
    4141        printf(
    42                 'Error: Looks like you’re using PHPUnit %s. WordPress requires at least PHPUnit 5.7.21.' . PHP_EOL,
     42                "Error: Looks like you're using PHPUnit %s. WordPress requires at least PHPUnit 5.7.21." . PHP_EOL,
    4343                $phpunit_version
    4444        );
    4545        echo 'Please use the latest PHPUnit version supported for the PHP version you are running the tests on.' . PHP_EOL;