Commits

Armin Rigo  committed 38f6497

Passing tests.

  • Participants
  • Parent commits 18abaa1

Comments (0)

Files changed (1)

File testing/backend_tests.py

         p = ffi.new("char[]", "hello.")
         p[5] = '!'
         assert str(p) == "hello!"
+        p[6] = '?'
+        assert str(p) == "hello!?"
+        p[3] = '\x00'
+        assert str(p) == "hel"
         a = ffi.new("char[]", "hello\x00world")
         p = ffi.new("char *", a)
         assert str(p) == 'hello'