Foswiki on GitHub is open for business! Next release meeting: Monday September 15, 1300Z

Item11584: Fn_MAKETEXT::test_underscore fails unless at least one language is enabled

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine UnitTestContrib  
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

 

ItemTemplate edit

Summary Fn_MAKETEXT::test_underscore fails unless at least one language is enabled
ReportedBy OlivierRaginel
Codebase
SVN Range
AppliesTo Engine
Component UnitTestContrib
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:14144 Foswikirev:14145
TargetRelease patch
ReleasedIn 1.1.5
CheckinsOnBranches Release01x01 trunk
trunkCheckins Foswikirev:14144
Release01x01Checkins Foswikirev:14145
Topic revision: r5 - 11 Apr 2012, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License