@@ -107,31 +107,31 @@ describe('liquid helper tags', () => {
107107
108108 describe ( 'indented_data_reference tag' , ( ) => {
109109 test ( 'without any number of spaces specified' , async ( ) => {
110- const template = '{% indented_data_reference site.data. reusables.example %}'
110+ const template = '{% indented_data_reference reusables.example %}'
111111 const expected = ` a rose by any other name
112112 would smell as sweet`
113113 const output = await liquid . parseAndRender ( template , context )
114114 expect ( output ) . toBe ( expected )
115115 } )
116116
117117 test ( 'with 0 spaces specified' , async ( ) => {
118- const template = '{% indented_data_reference site.data. reusables.example spaces=0 %}'
118+ const template = '{% indented_data_reference reusables.example spaces=0 %}'
119119 const expected = `a rose by any other name
120120would smell as sweet`
121121 const output = await liquid . parseAndRender ( template , context )
122122 expect ( output ) . toBe ( expected )
123123 } )
124124
125125 test ( 'with 0 spaces specified and whitespace around equals sign' , async ( ) => {
126- const template = '{% indented_data_reference site.data. reusables.example spaces = 0 %}'
126+ const template = '{% indented_data_reference reusables.example spaces = 0 %}'
127127 const expected = `a rose by any other name
128128would smell as sweet`
129129 const output = await liquid . parseAndRender ( template , context )
130130 expect ( output ) . toBe ( expected )
131131 } )
132132
133133 test ( 'with 5 spaces specified' , async ( ) => {
134- const template = '{% indented_data_reference site.data. reusables.example spaces=5 %}'
134+ const template = '{% indented_data_reference reusables.example spaces=5 %}'
135135 const expected = ` a rose by any other name
136136 would smell as sweet`
137137 const output = await liquid . parseAndRender ( template , context )
0 commit comments