summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7a480962..8af565bd 100644
--- a/core/tests/File_Structure_Test.php
+++ b/core/tests/File_Structure_Test.php
@@ -39,8 +39,8 @@ class File_Structure_Test extends Unit_Test_Case {
// Exception: this file must be named accordingly for the test framework
continue;
}
- $this->assert_false(
- preg_match("#/views/.*?(?<!(\.html|mrss))\.php$#", $file->getPathname()),
+ $this->assert_true(
+ preg_match("#/views/.*?(\.html|mrss)\.php$#", $file->getPathname()),
"{$file->getPathname()} should end in .html.php or mrss.php");
}
}