@@ -20,35 +20,35 @@ $latte->addExtension(new Nette\Bridges\ApplicationLatte\UIExtension(null));
20
20
Assert::exception (
21
21
fn () => $ latte ->compile ('<p n:snippet="abc" n:foreach="$items as $item">hello</p> ' ),
22
22
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) ' ,
24
24
);
25
25
26
26
Assert::exception (
27
27
fn () => $ latte ->compile ('<p n:snippet="abc" id="a">hello</p> ' ),
28
28
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) ' ,
30
30
);
31
31
32
32
Assert::exception (
33
33
fn () => $ latte ->compile ('<p n:snippet="abc" n:ifcontent>hello</p> ' ),
34
34
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) ' ,
36
36
);
37
37
38
38
Assert::exception (
39
39
fn () => $ latte ->compile ('<div n:inner-snippet="inner"></div> ' ),
40
40
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) ' ,
42
42
);
43
43
44
44
Assert::exception (
45
45
fn () => $ latte ->renderToString ('{snippet foo} {include parent} {/snippet} ' ),
46
46
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) ' ,
48
48
);
49
49
50
50
Assert::exception (
51
51
fn () => $ latte ->renderToString ('{snippet foo} {include this} {/snippet} ' ),
52
52
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) ' ,
54
54
);
0 commit comments