Skip to content

Commit a847780

Browse files
committed
Add failing test for zordius/lightncandy#298
1 parent ff199aa commit a847780

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/RegressionTest.php

+13
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,19 @@ public static function issueProvider(): array
13331333
'expected' => 'foo " ',
13341334
],
13351335

1336+
[
1337+
'id' => 298,
1338+
'template' => '{{test "\"\"\"" prop="\"\"\""}}',
1339+
'options' => new Options(
1340+
helpers: [
1341+
'test' => function ($arg1, HelperOptions $options) {
1342+
return "{$arg1} {$options->hash['prop']}";
1343+
},
1344+
],
1345+
),
1346+
'expected' => '""" """',
1347+
],
1348+
13361349
[
13371350
'id' => 302,
13381351
'template' => "{{#*inline \"t1\"}}{{#if imageUrl}}<span />{{else}}<div />{{/if}}{{/inline}}{{#*inline \"t2\"}}{{#if imageUrl}}<span />{{else}}<div />{{/if}}{{/inline}}{{#*inline \"t3\"}}{{#if imageUrl}}<span />{{else}}<div />{{/if}}{{/inline}}",

0 commit comments

Comments
 (0)