Make WordPress Core

Changeset 37997


Ignore:
Timestamp:
07/07/2016 10:44:57 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Unit Tests: Add description for data_get_comments_number_text_declension().

See #13651.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/comment/template.php

    r37987 r37997  
    7979    }
    8080
     81    /**
     82     * Data provider for test_get_comments_number_text_declension_with_custom_args().
     83     *
     84     * @return array {
     85     *     @type array {
     86     *         @type int    $comments_number The number of comments passed to get_comments_number_text().
     87     *         @type string $input           Custom text for comments number, e.g. '%s Comments'.
     88     *         @type string $output          The expected output with the correct plural form of '%s Comments'.
     89     *     }
     90     * }
     91     */
    8192    function data_get_comments_number_text_declension() {
    8293        return array(
Note: See TracChangeset for help on using the changeset viewer.