Make WordPress Core


Ignore:
Timestamp:
03/13/2025 06:21:37 PM (8 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct formatting for some inline comments in unit tests.

Follow-up to [54111], [56714], [58182], [59630], [59817], [59966].

See #62281.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/general/paginateLinks.php

    r59966 r59979  
    380380        $links = paginate_links( $args );
    381381
    382         // Test page 1 link (should have trailing slash)
     382        // Test page 1 link (should have trailing slash).
    383383        $this->assertStringContainsString(
    384384            'href="http://example.org/category/test/"',
     
    387387        );
    388388
    389         // Test page 3 link (should have trailing slash)
     389        // Test page 3 link (should have trailing slash).
    390390        $this->assertStringContainsString(
    391391            'href="http://example.org/category/test/page/3/"',
     
    394394        );
    395395
    396         // Test previous link (should have trailing slash)
     396        // Test previous link (should have trailing slash).
    397397        $this->assertStringContainsString(
    398398            'class="prev page-numbers" href="http://example.org/category/test/"',
     
    418418        $links = paginate_links( $args );
    419419
    420         // Test page 1 link (should not have trailing slash)
     420        // Test page 1 link (should not have trailing slash).
    421421        $this->assertStringContainsString(
    422422            'href="http://example.org/category/test"',
     
    425425        );
    426426
    427         // Test page 3 link (should not have trailing slash)
     427        // Test page 3 link (should not have trailing slash).
    428428        $this->assertStringContainsString(
    429429            'href="http://example.org/category/test/page/3"',
     
    432432        );
    433433
    434         // Test previous link (should not have trailing slash)
     434        // Test previous link (should not have trailing slash).
    435435        $this->assertStringContainsString(
    436436            'class="prev page-numbers" href="http://example.org/category/test"',
Note: See TracChangeset for help on using the changeset viewer.