Skip to content

Commit 186fadf

Browse files
committed
Fix tests
1 parent 99d77b1 commit 186fadf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Node/Expression/GetAttrTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static function provideTests(): iterable
5757
$tests[] = [$node, \sprintf('%s%s, "bar", arguments: [], lineno: 1)', self::createAttributeGetter(), self::createVariableGetter('foo', 1))];
5858

5959
$node = new GetAttrExpression($expr, $attr, $args, Template::ANY_CALL, 1, true);
60-
$tests[] = [$node, '((null === ($_v%s = // line 1'."\n".'($context["foo"] ?? null))) ? null : '.self::createAttributeGetter().'$_v%s, "bar", [], "any", false, false, false, 1))', null, true];
60+
$tests[] = [$node, '((null === ($_v%s = // line 1'."\n".'($context["foo"] ?? null))) ? null : '.self::createAttributeGetter().'$_v%s, "bar", arguments: [], lineno: 1))', null, true];
6161

6262
$node = new GetAttrExpression($expr, $attr, $args, Template::ARRAY_CALL, 1);
6363
$tests[] = [$node, '(($_v%s = // line 1'."\n".

0 commit comments

Comments
 (0)