Item11584: Fn_MAKETEXT::test_underscore fails unless at least one language is enabled
Priority: Normal
Current State: Closed
Released In: 1.1.5
Target Release: patch
As the nightly builds showed:
1 failure:
Fn_MAKETEXT::test_underscore
Expected:'Error: MAKETEXT argument's can't start with an underscore ("_").'
But got:'_edit'
This is due to the fact that Foswiki::I18N won't be initialized unless:
The last point was missing in the unit test.
--
OlivierRaginel - 29 Feb 2012
Ideally, as Sven pointed out, we should make this test more robust and test all variations. But I don't think it's worth it. Maybe later.
--
OlivierRaginel - 29 Feb 2012