The foswiki svn repository will become read-only on Friday 8/8. Developers should register for a account for commit access to foswiki.

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:

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