File: 0001-test.patch

package info (click to toggle)
lua-leg 0.1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 340 kB
  • sloc: makefile: 32
file content (29 lines) | stat: -rw-r--r-- 746 bytes parent folder | download | duplicates (4)
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
28
29
From: Enrico Tassi <gareuselesinge@debian.org>
Date: Mon, 12 Aug 2013 10:30:05 +0200
Subject: test

that exadecimal number
---
 tests/test_scanner.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_scanner.lua b/tests/test_scanner.lua
index b59b5fb..3368429 100755
--- a/tests/test_scanner.lua
+++ b/tests/test_scanner.lua
@@ -110,7 +110,7 @@ assert(NUM:match'12.343')
 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 @@ asdaks \n
 -- --[[ deve pegar comment multi-line
 --print'oi' ]] ]===])
 
-print '...OK!'
\ No newline at end of file
+print '...OK!'