aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Queiroz <sqmedeiros@gmail.com>2017-01-03 10:05:35 -0300
committerSergio Queiroz <sqmedeiros@gmail.com>2017-01-03 10:05:35 -0300
commit92029acf2072fbbd29271c68e601832f9a7c832d (patch)
tree91aba4e3f0951fcd702a09c575456af73c3c8be7
parentc6277dabce8428b49ff5df63b515c68a0386d9da (diff)
downloadlpeglabel-92029acf2072fbbd29271c68e601832f9a7c832d.tar.gz
lpeglabel-92029acf2072fbbd29271c68e601832f9a7c832d.tar.bz2
lpeglabel-92029acf2072fbbd29271c68e601832f9a7c832d.zip
Removing tests specific to farthest failure (put them in testlabel.lua)farthestFail
-rw-r--r--testfarthest.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/testfarthest.lua b/testfarthest.lua
deleted file mode 100644
index e862d87..0000000
--- a/testfarthest.lua
+++ /dev/null
@@ -1,13 +0,0 @@
1local m = require 'lpeglabel'
2
3function matchPrint(p, s)
4 local r, l, sfail = p:match(s)
5 print("Input:", s)
6 print("Result:", r, l, sfail)
7end
8
9
10local p = (m.P"c" + m.P"a") * m.P("b" + m.P"d") + m.P"xxx"
11p:pcode()
12matchPrint(p, "ba")
13