File: test.dpatch

package info (click to toggle)
lua-leg 0.1.2-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 224 kB
  • ctags: 144
  • sloc: makefile: 40; sh: 17
file content (27 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (2)
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!'