summaryrefslogtreecommitdiff
path: root/test/gnu_sets.lua
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2010-07-31 19:07:50 +0100
committerReuben Thomas <rrt@sc3d.org>2010-07-31 19:07:50 +0100
commita896b1b439a6b7ac2650d643b40b65357962d858 (patch)
treeef14b5687db503755cf86b3d51254e3fb5a95f40 /test/gnu_sets.lua
parent02d7f1820a2085b6e074da893332587d100f94ef (diff)
downloadlrexlib-a896b1b439a6b7ac2650d643b40b65357962d858.tar.gz
Fix two that use the “not beginning of line” flag (POSIX & GNU). They
erroneously had the subject “^abc”, not “abc”, so would always pass (because the pattern “^abc” would never match). Of course, they still pass with the flag set, but I have confirmed that they now fail with the flag removed (whereas before they passed).
Diffstat (limited to 'test/gnu_sets.lua')
-rwxr-xr-xtest/gnu_sets.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gnu_sets.lua b/test/gnu_sets.lua
index 8dd5833..e88fc1c 100755
--- a/test/gnu_sets.lua
+++ b/test/gnu_sets.lua
@@ -38,7 +38,7 @@ return {
--{subj, patt, st,cf,ef}, { results }
{ {"abcd", ".+", 5}, { N } }, -- failing st
{ {"abc", "^abc"}, {"abc" } }, -- anchor
- { {"^abc", "^abc", N,N,flg.NOTBOL}, { N } }, -- anchor + ef
+ { {"abc", "^abc", N,N,flg.not_bol}, { N } }, -- anchor + ef
}
end