summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-03-24Updated spec.John MacFarlane
2016-02-06Updated spec.John MacFarlane
2016-02-06Updated spec.John MacFarlane
2016-02-05Updated spec.John MacFarlane
2016-02-05Updated spec test.John MacFarlane
2016-02-05Update test/spec.txt.John MacFarlane
2016-01-12Updated spec.txtJohn MacFarlane
2016-01-11Updated spec.txt.John MacFarlane
Currently there is one failing case. See #97.
2016-01-10Updated format of test/smart_punct.txt.John MacFarlane
2016-01-10Updated spec.txt and spec_tests.py to new format.John MacFarlane
2016-01-07Updated spec.txt.John MacFarlane
2016-01-07Updated spec.txt.John MacFarlane
2016-01-05updated spec.txtJohn MacFarlane
2016-01-05Updated spec.txt.John MacFarlane
2015-12-28Updated spec.txt and normalize.py.John MacFarlane
2015-12-22Updated spec.txt.John MacFarlane
2015-12-20Made roundtrip test part of the test suite run by cmake.John MacFarlane
2015-09-22Set convert_charrefs=False in normalize.py.John MacFarlane
This defeats the new default as of python 3.5, and allows the script to work with python 3.5. Closes #83.
2015-09-20Python 3.5 compatibility: add placeholder for HTMLParseErrorZhiming Wang
HTMLParseError was removed in Python 3.5. Since it could never be thrown in Python 3.5+, we simply define a placeholder when HTMLParseError cannot be imported.
2015-08-23Updated specJohn MacFarlane
2015-08-18Updated spec.txt.John MacFarlane
2015-08-10Fix FileNotFoundError errors on tests when cmark is built from another ↵Kevin Wojniak
project via add_subdirectory() CMAKE_SOURCE_DIR will refer to the top-level source directory, not cmark, so CMAKE_CURRENT_SOURCE_DIR must be used. Also the same for CMAKE_BINARY_DIR. Ideally it should be using the TARGET_FILE CMake generator to get a target's location instead of hard coding the path, but that requires CMake 3.0 or greater.
2015-07-27Updated spec.John MacFarlane
2015-07-25Updated spec.txt.John MacFarlane
2015-07-25Updated test/spec.txt.John MacFarlane
2015-07-25Updated test/spec.txt.John MacFarlane
2015-07-23Improved smart_punct.txt.John MacFarlane
See jgm/commonmark.js#61
2015-07-14Updated spec.John MacFarlane
2015-07-14Updated spec.John MacFarlane
2015-07-12Updated spec.John MacFarlane
2015-07-11Updated spec.John MacFarlane
2015-07-11Updated specJohn MacFarlane
2015-07-11Updated spec.txt.John MacFarlane
2015-07-10Updated spec.txt.John MacFarlane
2015-07-10Updates for new HTML block spec.John MacFarlane
* Rewrote spec for HTML blocks. A few other spec examples also changed as a result. * Removed old `html_block_tag` scanner. Added new `html_block_start` and `html_block_start_7`, as well as `html_block_end_n` for n = 1-5. * Rewrote block parser for new HTML block spec.
2015-07-09Updated test/smart_punct.txt.John MacFarlane
This incorporates the changes in jgm/commonmark.js#58. Sequences of hyphens are converted to sequences of em and en dashes, with no hyphens. Currently this test fails.
2015-07-09Fixed small bug in test runner.John MacFarlane
(Error printing errors from the test program.)
2015-07-08spec_tests.py: use stdout.out.buffer.write instead of print throughout.John MacFarlane
Mixing them didn't work well; results were out of order.
2015-07-07Updated spec_tests.py from jgm/CommonMark.John MacFarlane
This forces utf-8 encoding.
2015-07-03`spec_test.py`: changed default to `spec.txt` (not `test/spec.txt`).John MacFarlane
This doesn't matter, since we specify the argument anyway. But it brings this into sync with the version in CommonMark.
2015-06-17Added case for #59 to pathological_test.py.John MacFarlane
2015-06-16Updated spec for new tab behavior.John MacFarlane
This change will need to be ported to CommonMark if we do this. We no longer replace spaces with tabs. Rather, we treat tabs as equivalent spaces for purposes of determining structure. Tab stop is still 4. Tabs in the text remain in the text.
2015-06-16spec_tests.py: allow → for tab in HTML examples.John MacFarlane
2015-06-16normalize.py: don't collapse whitespace in pre contexts.John MacFarlane
2015-06-15Updated spec.txt.John MacFarlane
2015-06-13Updated spec.txt.John MacFarlane
2015-06-13Updated spec.txt.John MacFarlane
2015-06-11pathological_tests: removed timeout stuff.John MacFarlane
It breaks on Windows.
2015-06-11Added another case to pathological tests.John MacFarlane
"*a_ " * 20000 See jgm/commonmark#43.
2015-06-11Added timetouts to pathological tests.John MacFarlane
This way tests fail instead of just hanging. Currently we use a 1 sec timeout. Added a failing test from jgm/commonmark#43.