diff options
author | Reuben Thomas <rrt@sc3d.org> | 2010-10-04 17:35:33 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2010-10-04 17:35:33 +0100 |
commit | 4d2bcaa10907e1cb34f9e89a83bb0f008961b15a (patch) | |
tree | c257bd315a546e7d983b0a6307343d3d1a4d1d98 | |
parent | e8336b3a56381939762de3a6484fde1cc3b62937 (diff) | |
download | lrexlib-4d2bcaa10907e1cb34f9e89a83bb0f008961b15a.tar.gz |
Remove incorrect comments and add a test. (Shmuel)
-rw-r--r-- | test/emacs_sets.lua | 3 | ||||
-rw-r--r-- | test/gnu_sets.lua | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/test/emacs_sets.lua b/test/emacs_sets.lua index fb2b024..7046752 100644 --- a/test/emacs_sets.lua +++ b/test/emacs_sets.lua @@ -1,8 +1,5 @@ -- See Copyright Notice in the file LICENSE --- This file should contain only test sets that behave identically --- when being run with pcre or posix regex libraries. - local luatest = require "luatest" local N = luatest.NT diff --git a/test/gnu_sets.lua b/test/gnu_sets.lua index 6bf3a1b..29dd817 100644 --- a/test/gnu_sets.lua +++ b/test/gnu_sets.lua @@ -1,8 +1,5 @@ -- See Copyright Notice in the file LICENSE --- This file should contain only test sets that behave identically --- when being run with pcre or posix regex libraries. - local luatest = require "luatest" local N = luatest.NT @@ -39,6 +36,7 @@ return { { {"abcd", ".+", 5}, { N } }, -- failing st { {"abc", "^abc"}, {"abc" } }, -- anchor { {"abc", "^abc", N,N,flg.not_bol}, { N } }, -- anchor + ef + { {"abc", "abc$", N,N,flg.not_eol}, { N } }, -- anchor + ef { {"cabcaab", "ca+b", N,N,flg.backward}, {"caab" } }, -- reverse search } end |