summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarko Kreen2011-02-24 20:45:12 +0000
committerMarko Kreen2011-02-24 20:45:12 +0000
commit7abebdff3422e4a7d0baaa57eaa14205dba14e39 (patch)
treec460b88f98e7838df03e97ce4a62bdeb8244d03f /test
parent2c4dbcb12c9178bb890ba5002db3e885ca4a6c83 (diff)
regex: minor space saving
Diffstat (limited to 'test')
-rw-r--r--test/test_regex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_regex.c b/test/test_regex.c
index 65fbbd2..bc07956 100644
--- a/test/test_regex.c
+++ b/test/test_regex.c
@@ -104,6 +104,7 @@ static void test_regex(void *ptr)
str_check(e_rx("fo(o", "bar", 0), "EPAREN");
str_check(e_rx("[a-b-c]", "bar", 0), "ERANGE");
str_check(b_rx("(\\1)", "bar", 0), "ESUBREG");
+ str_check(e_rx("[[:random:]]", "bar", 0), "ECTYPE");
end:;
}