@@ -20,35 +20,35 @@ $latte->addExtension(new Nette\Bridges\ApplicationLatte\UIExtension(null));
2020Assert::exception (
2121 fn () => $ latte ->compile ('<p n:snippet="abc" n:foreach="$items as $item">hello</p> ' ),
2222 Latte \CompileException::class,
23- 'Combination of n:snippet with n:foreach is invalid, use n:inner-foreach (at column 4) ' ,
23+ 'Combination of n:snippet with n:foreach is invalid, use n:inner-foreach (on line 1 at column 4) ' ,
2424);
2525
2626Assert::exception (
2727 fn () => $ latte ->compile ('<p n:snippet="abc" id="a">hello</p> ' ),
2828 Latte \CompileException::class,
29- 'Cannot combine HTML attribute id with n:snippet (at column 4) ' ,
29+ 'Cannot combine HTML attribute id with n:snippet (on line 1 at column 4) ' ,
3030);
3131
3232Assert::exception (
3333 fn () => $ latte ->compile ('<p n:snippet="abc" n:ifcontent>hello</p> ' ),
3434 Latte \CompileException::class,
35- 'Cannot combine n:ifcontent with n:snippet (at column 4) ' ,
35+ 'Cannot combine n:ifcontent with n:snippet (on line 1 at column 4) ' ,
3636);
3737
3838Assert::exception (
3939 fn () => $ latte ->compile ('<div n:inner-snippet="inner"></div> ' ),
4040 Latte \CompileException::class,
41- 'Use n:snippet instead of n:inner-snippet (at column 6) ' ,
41+ 'Use n:snippet instead of n:inner-snippet (on line 1 at column 6) ' ,
4242);
4343
4444Assert::exception (
4545 fn () => $ latte ->renderToString ('{snippet foo} {include parent} {/snippet} ' ),
4646 Latte \CompileException::class,
47- 'Cannot include parent block outside of any block (at column 15) ' ,
47+ 'Cannot include parent block outside of any block (on line 1 at column 15) ' ,
4848);
4949
5050Assert::exception (
5151 fn () => $ latte ->renderToString ('{snippet foo} {include this} {/snippet} ' ),
5252 Latte \CompileException::class,
53- 'Cannot include this block outside of any block (at column 15) ' ,
53+ 'Cannot include this block outside of any block (on line 1 at column 15) ' ,
5454);
0 commit comments