From 4d2bcaa10907e1cb34f9e89a83bb0f008961b15a Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Mon, 4 Oct 2010 17:35:33 +0100 Subject: Remove incorrect comments and add a test. (Shmuel) --- test/emacs_sets.lua | 3 --- test/gnu_sets.lua | 4 +--- 2 files changed, 1 insertion(+), 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 -- cgit v1.2.1