diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2011-09-13 01:46:00 +0200 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-11-25 15:04:31 -0500 |
commit | f16d72fcfb9a7621bf64b82cc2c710c6e484d965 (patch) | |
tree | fee4024018a61b725035017f7254e248cd229de8 /tests/user | |
parent | 757fcd3e63535f9fda68cf359f849a44059c7b27 (diff) | |
download | forums-f16d72fcfb9a7621bf64b82cc2c710c6e484d965.tar forums-f16d72fcfb9a7621bf64b82cc2c710c6e484d965.tar.gz forums-f16d72fcfb9a7621bf64b82cc2c710c6e484d965.tar.bz2 forums-f16d72fcfb9a7621bf64b82cc2c710c6e484d965.tar.xz forums-f16d72fcfb9a7621bf64b82cc2c710c6e484d965.zip |
[ticket/10345] Fix documentation on the new function and the switch
Also do not min/max the value, but throw an error on an invalid Plural rule.
PHPBB3-10345
Diffstat (limited to 'tests/user')
-rw-r--r-- | tests/user/lang_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/user/lang_test.php b/tests/user/lang_test.php index 11e981bb7b..90b0cdfb0f 100644 --- a/tests/user/lang_test.php +++ b/tests/user/lang_test.php @@ -51,11 +51,11 @@ class phpbb_user_lang_test extends phpbb_test_case $this->assertEquals($user->lang('ARRY', 2), '2 posts'); $this->assertEquals($user->lang('ARRY', 123), '123 posts'); - // Bug PHPBB3-9949 + // ticket PHPBB3-9949 $this->assertEquals($user->lang('ARRY', 1, 2), '1 post'); $this->assertEquals($user->lang('ARRY', 1, 's', 2), '1 post'); - // Bug PHPBB3-10345 + // ticket PHPBB3-10345 $user = new user; $user->lang = array( 'PLURAL_RULE' => 13, |