[pypy-commit] cffi default: Check extra spaces around #define.
arigo
noreply at buildbot.pypy.org
Sun Jun 17 10:17:33 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r394:0d7f559c2d25
Date: 2012-06-16 17:26 +0200
http://bitbucket.org/cffi/cffi/changeset/0d7f559c2d25/
Log: Check extra spaces around #define.
diff --git a/testing/test_verify.py b/testing/test_verify.py
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -357,7 +357,7 @@
def test_define_int():
ffi = FFI()
ffi.cdef("#define FOO ...\n"
- "#define BAR ...")
+ "\t#\tdefine\tBAR\t...\t")
lib = ffi.verify("#define FOO 42\n"
"#define BAR (-44)\n")
assert lib.FOO == 42
More information about the pypy-commit
mailing list