Author: Armin Rigo <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit