1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## test.dpatch by Enrico Tassi <gareuselesinge@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: removes one test for number '0x' that fails, but lua itself rejects
## DP: that exadecimal number
@DPATCH@
diff -urNad trunk~/tests/test_scanner.lua trunk/tests/test_scanner.lua
--- trunk~/tests/test_scanner.lua 2007-11-22 22:15:24.000000000 +0100
+++ trunk/tests/test_scanner.lua 2007-12-20 09:09:27.000000000 +0100
@@ -110,7 +110,7 @@
assert(NUM:match'0x7a2fF')
-- hexadecimal notation (yes, this matches)
-assert(NUM:match'0x')
+--assert(NUM:match'0x')
-- hexadecimal notation
assert(not NUM:match'!ff')
@@ -225,4 +225,4 @@
-- --[[ deve pegar comment multi-line
--print'oi' ]] ]===])
-print '...OK!'
\ No newline at end of file
+print '...OK!'
|