Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2009 at 01:43 UTC
Updated:
6 Jun 2009 at 15:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
JamesAn commentedHere's a screenshot for one of the test runs.
I've postponed #480424: Update locale module to use drupal_static() until I know (or someone can figure out) what's going on here.
Comment #2
damien tournoud commentedThat's a bug in your patched locale_get_plural():
Erm. Those are overwriting one another.
Why are you seeing those strange numbers? Because the test summary line in a context in which the locale module is enabled, so function_exists('locale_get_plural') is TRUE. locale_get_plural() is being called, but because of the flaw above it doesn't returns -1 as it is supposed to, but 0.
Marking as a duplicate of #480424: Update locale module to use drupal_static(), where the bug really is.
Comment #3
JamesAn commentedThanks for catching and explaining this! Much appreciated. =)