public
Rubygem
Fork of tobi/liquid
Description: Liquid markup language. Save, customer facing template language for flexible web apps.
Homepage: http://www.liquidmarkup.org
Clone URL: git://github.com/mhw/liquid.git
Search Repo:
Fix syntax in doc comment; test same syntax.
mhw (author)
Tue Jul 08 01:06:21 -0700 2008
commit  819b70204fb692223a34c914881ca3d757767a8e
tree    ec632bc96820f6d8a82ab929e8169747cd16ec81
parent  eb609ee4aa76a4e510beb701bde9e9416e2d67eb
...
174
175
176
177
 
178
179
180
...
174
175
176
 
177
178
179
180
0
@@ -174,7 +174,7 @@ module Liquid
0
     #
0
     # @context['hash'] = {"name" => 'tobi'}
0
     # assert_equal 'tobi', @context['hash.name']
0
- # assert_equal 'tobi', @context['hash[name]']
0
+ # assert_equal 'tobi', @context['hash["name"]']
0
     #
0
     def variable(markup)
0
       parts = markup.scan(VariableParser)
...
192
193
194
 
195
196
197
...
192
193
194
195
196
197
198
0
@@ -192,6 +192,7 @@ class ContextTest < Test::Unit::TestCase
0
   def test_hierachical_data
0
     @context['hash'] = {"name" => 'tobi'}
0
     assert_equal 'tobi', @context['hash.name']
0
+ assert_equal 'tobi', @context['hash["name"]']
0
   end
0
 
0
   def test_keywords

Comments

    No one has commented yet.