summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/tests/File_Structure_Test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tests/File_Structure_Test.php b/core/tests/File_Structure_Test.php
index 34baa1cb..0779dea7 100644
--- a/core/tests/File_Structure_Test.php
+++ b/core/tests/File_Structure_Test.php
@@ -37,9 +37,9 @@ class File_Structure_Test extends Unit_Test_Case {
foreach ($dir as $file) {
if (strpos($file, "views")) {
$this->assert_true(
- preg_match("#/views/.*?(\.html|mrss)\.php$#",
+ preg_match("#/views/.*?(\.html|mrss|txt)\.php$#",
strtr($file->getPathname(), DIRECTORY_SEPARATOR, '/')),
- "{$file->getPathname()} should end in .html.php or mrss.php");
+ "{$file->getPathname()} should end in .{html,mrss,txt}.php");
}
}
}