Permalink
Browse files

Fix failing test

  • Loading branch information...
1 parent d102542 commit e694900d8062e7756e5a2f47687af940fdbd5643 @groue committed Oct 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/classes/GRMustacheVariableElement.m
View
4 src/classes/GRMustacheVariableElement.m
@@ -79,8 +79,8 @@ - (void)renderInBuffer:(NSMutableString *)buffer withRuntime:(GRMustacheRuntime
GRMustacheVariableElement *innerElement = [GRMustacheVariableElement variableElementWithExpression:expression templateRepository:_templateRepository raw:_raw];
_enumerableSectionElement = [GRMustacheSectionElement sectionElementWithExpression:_expression
templateRepository:_templateRepository
- templateString:nil // unused
- innerRange:NSMakeRange(NSNotFound, 0) // unused
+ templateString:_raw ? @"{{{.}}}" : @"{{.}}"
+ innerRange:_raw ? NSMakeRange(0, 7) : NSMakeRange(0, 5)
inverted:NO
overridable:NO
innerElements:[NSArray arrayWithObject:innerElement]];

0 comments on commit e694900

Please sign in to comment.