marijnh/CodeMirror2 — pull request #415 by jdleesmiller (2012-03-03 18:28:10+00:00)
Title: test cases for the stex mode and some general test case machinery

These are test cases that fail for the current stex mode but pass with the fixes in #414.

There's also a general test case runner for modes, "mode_test". It pretty prints the output from the highlight routine and makes it fairly painless to assert that it is produced the expected the output. Maybe it is generally useful, so I put it in /test, not /mode/stex (and why it's its own pull request). Comments / criticism very welcome.

And thanks for writing this awesome library!