Skip to content

Commit 77c1512

Browse files
committed
tests: renamed some files
1 parent e1e3810 commit 77c1512

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

.github/workflows/coding-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
coverage: none
1515

1616
- run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress
17-
- run: php temp/code-checker/code-checker --strict-types --no-progress
17+
- run: php temp/code-checker/code-checker --strict-types --no-progress --ignore expected
1818

1919

2020
nette_cs:

tests/Bridges.Latte2/CacheMacro.cache.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $params['title'] = 'Hello';
2525
$params['id'] = 456;
2626

2727
Assert::matchFile(
28-
__DIR__ . '/expected/CacheMacro.cache.phtml',
28+
__DIR__ . '/expected/CacheMacro.cache.php',
2929
$latte->compile(__DIR__ . '/templates/cache.latte')
3030
);
3131
Assert::matchFile(
@@ -36,6 +36,6 @@ Assert::matchFile(
3636
)
3737
);
3838
Assert::matchFile(
39-
__DIR__ . '/expected/CacheMacro.cache.inc.phtml',
39+
__DIR__ . '/expected/CacheMacro.cache.inc.php',
4040
file_get_contents($latte->getCacheFile(__DIR__ . strtr('/templates/include.cache.latte', '/', DIRECTORY_SEPARATOR)))
4141
);

tests/Bridges.Latte3/{cache}.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $params['title'] = 'Hello';
2424
$params['id'] = 456;
2525

2626
Assert::matchFile(
27-
__DIR__ . '/expected/cache.phtml',
27+
__DIR__ . '/expected/cache.php',
2828
$latte->compile(__DIR__ . '/templates/cache.latte')
2929
);
3030
Assert::matchFile(
@@ -35,6 +35,6 @@ Assert::matchFile(
3535
)
3636
);
3737
Assert::matchFile(
38-
__DIR__ . '/expected/cache.inc.phtml',
38+
__DIR__ . '/expected/cache.inc.php',
3939
file_get_contents($latte->getCacheFile(__DIR__ . strtr('/templates/include.cache.latte', '/', DIRECTORY_SEPARATOR)))
4040
);

0 commit comments

Comments
 (0)