-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✅ added test for #158, looks like default behaviour works as expected…
…. Test needs extending.
- Loading branch information
Simon Dann
committed
Apr 18, 2017
1 parent
ddcdb21
commit d722bff
Showing
7 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
!!! default.phtml | ||
base_phtml | ||
!!! ./default.phtml | ||
!!! base.phtml | ||
base_phtml | ||
!!! ./base.phtml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
!!! single.phtml | ||
single_phtml | ||
!!! ./single.phtml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
return [ | ||
'debug' => false | ||
]; |
4 changes: 4 additions & 0 deletions
4
tests/assets/build_test_31/src/source/_templates/default.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
!!! default.phtml | ||
<?= (is_null($this->getFile()) ? 'null' : $this->getFile()->getUid()) . "\n" ?> | ||
!!! ./default.phtml | ||
<?= $this->section('content') ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
layout: default | ||
--- | ||
!!! base.phtml | ||
<?= (is_null($this->getFile()) ? 'null' : $this->getFile()->getUid()) . "\n" ?> | ||
!!! ./base.phtml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
!!! single.phtml | ||
<?= (is_null($this->getFile()) ? 'null' : $this->getFile()->getUid()) . "\n" ?> | ||
!!! ./single.phtml |