unit tests fail: "Undefined offset: 4"

Bug #521336 reported by Christian Weiske
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-gettext
Fix Released
High
Данило Шеган

Bug Description

With the current bzr branch; i get a unit test failure:
$ bzr branch lp:php-gettext
$ cd php-gettext
$ phpunit tests/LocalesTest.php
1) LocaleTest::test_get_list_of_locales
Undefined offset: 4

/home/cweiske/Dev/cvs/semanticscuttle/php-gettext/gettext.inc:79
/home/cweiske/Dev/cvs/semanticscuttle/php-gettext/tests/LocalesTest.php:31

Related branches

Revision history for this message
Christian Weiske (cweiske) wrote :

This only happens when E_NOTICEs are activated, but every developer should have those on.

Revision history for this message
Данило Шеган (danilo) wrote :

Fix committed as rev 41.

Changed in php-gettext:
assignee: nobody → Данило Шеган (danilo)
status: New → Fix Committed
importance: Undecided → High
Revision history for this message
Данило Шеган (danilo) wrote :

Whoops, I've committed other changes as part of this as well.

Revision history for this message
Данило Шеган (danilo) wrote :

Ok, those have been reverted now.

Changed in php-gettext:
milestone: none → 1.0.10
Changed in php-gettext:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.