summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/emacs_sets.lua3
-rw-r--r--test/gnu_sets.lua4
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