Paul Davis  committed 229ccba

Test for invalid octal.

I added a test that catches the JSError generated by invalid octal. Ricardo, can
you confirm whether this test passes or fails? You can run the tests like such:

$ python test

[#12 state:open]

  • Participants
  • Parent commits a5ee87e
  • Branches default

Comments (0)

Files changed (1)

File tests/

         line = traceback.format_exc().split("\n")[-3].strip()
         t.eq(line, ERROR)
+def test_invalid_octal(cx):
+    t.raises(t.JSError, cx.execute, "09;")