Skip to content

Commit d2bd23d

Browse files
committed
test: last latte
1 parent 912fde9 commit d2bd23d

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"require-dev": {
2323
"nette/tester": "^2.0",
2424
"nette/di": "^v3.0",
25-
"latte/latte": "^2.9",
25+
"latte/latte": "^2.10",
2626
"tracy/tracy": "^2.4",
2727
"phpstan/phpstan": "^0.12"
2828
},

tests/Bridges.Latte/expected/CacheMacro.cache.inc.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
echo "\n";
77
Nette\Bridges\CacheLatte\CacheMacro::endCache($this->global->cacheStack);
88
}
9-
catch (\Throwable $__e) {
9+
catch (\Throwable $ʟ_e) {
1010
Nette\Bridges\CacheLatte\CacheMacro::rollback($this->global->cacheStack);
11-
throw $__e;
11+
throw $ʟ_e;
1212
}
1313
%A%

tests/Bridges.Latte/expected/CacheMacro.cache.phtml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@
1010
echo '</h1>
1111
1212
';
13-
/* line 7 */
14-
$this->createTemplate('include.cache.latte', ['localvar' => 11] + $this->params, "include")->renderToContentType('html');
13+
$this->createTemplate('include.cache.latte', ['localvar' => 11] + $this->params, 'include')->renderToContentType('html') /* line %d% */;
1514
echo "\n";
1615
Nette\Bridges\CacheLatte\CacheMacro::endCache($this->global->cacheStack, [$id, 'tags' => 'mytag']);
1716
}
18-
catch (\Throwable $__e) {
17+
catch (\Throwable $ʟ_e) {
1918
Nette\Bridges\CacheLatte\CacheMacro::rollback($this->global->cacheStack);
20-
throw $__e;
19+
throw $ʟ_e;
2120
}
2221
%A%
2322
}

0 commit comments

Comments
 (0)