summaryrefslogtreecommitdiff
path: root/plugins/managesieve/tests/Parser.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/managesieve/tests/Parser.php')
-rw-r--r--plugins/managesieve/tests/Parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/managesieve/tests/Parser.php b/plugins/managesieve/tests/Parser.php
index 06b644b34..00915cc20 100644
--- a/plugins/managesieve/tests/Parser.php
+++ b/plugins/managesieve/tests/Parser.php
@@ -31,7 +31,7 @@ class Parser extends PHPUnit_Framework_TestCase
$result = array();
while ($file = readdir($dir)) {
- if (preg_match('/^[a-z_]+$/', $file)) {
+ if (preg_match('/^[a-z0-9_]+$/', $file)) {
$input = file_get_contents($dir_path . '/' . $file);
if (file_exists($dir_path . '/' . $file . '.out')) {