summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-01-05Include string.h in cmark-fuzz.c.John MacFarlane
Recommended by build log at https://oss-fuzz-build-logs.storage.googleapis.com/log-6a7500a1-8617-42c6-b8e4-78cab009b5b5.txt
2019-11-27normalize.py: use html.escape instead of cgi.escape.John MacFarlane
Closes #313.
2019-11-11Updaet spec.txt.John MacFarlane
2019-06-01Clarify which backtick strings (#301)Johel Ernesto Guerrero Peña
A code span can have more than its two surrounding ones, like ` `` `.
2019-04-07Update spec.John MacFarlane
2019-04-06Update spec.John MacFarlane
2019-04-06Update spec.John MacFarlane
2019-04-06Update spec.John MacFarlane
2019-04-06Update spec.John MacFarlane
2019-04-04Update spec.John MacFarlane
2019-04-03Update specJohn MacFarlane
2019-03-26Update spec.txt.John MacFarlane
2019-03-26Update regression tests in light of recent spec changes...John MacFarlane
affecting link destinations.
2019-03-25Add regression test for #517.John MacFarlane
2019-03-25Update test/spec.txtJohn MacFarlane
2019-03-23Update spec; allow internal delimiter runs to match if...John MacFarlane
both have lengths that are multiples of 3. See commonmark/commonmark#528.
2019-03-19Update spec. Fix `[link](<foo\>)`.John MacFarlane
2019-03-17Make rendering safe by default.John MacFarlane
Removes CMARK_OPT_SAFE from options. Adds CMARK_OPT_UNSAFE, with the opposite meaning. The new default behavior is to suppress raw HTML and potentially dangerous links. The CMARK_OPT_UNSAFE option has to be set explicitly to prevent this. -------------------------------------------------------- NOTE: This change will require modifications in bindings for cmark and in most libraries and programs that use cmark. -------------------------------------------------------- Closes #239, #273. Borrows heavily from @kivikakk's patch in github/cmark-gfm#123.
2019-03-17Merge pull request #254 from github/empty-inputJohn MacFarlane
Check for empty buffer when rendering
2019-03-17Add pathological test for #285.John MacFarlane
2019-03-17Add regression test for commonmark#526.John MacFarlane
2019-03-17Update test/spec.txtJohn MacFarlane
2018-10-04Update spec.txt.John MacFarlane
2018-09-09Update spec.txt.John MacFarlane
2018-09-09Update spec.txt.John MacFarlane
2018-08-26Updated spec.txt.John MacFarlane
2018-08-25Update spec.txt.John MacFarlane
2018-08-25entity_tests.py - omit noisy success output.John MacFarlane
2018-07-16add link parsing corner cases to regressionsAshe Connor
2018-06-11Fix spaces on regression test.John MacFarlane
2018-06-11Removed meta from list of block tags.John MacFarlane
Added regression test. See commonmark/CommonMark#527.
2018-04-15pathological_tests.py: make tests run faster.John MacFarlane
- commented out the (already ignored) "many references" test, which times out - reduced the iterations for a couple other tests
2018-04-15pathological_tests.py: added test for deeply nested lists.John MacFarlane
2018-03-25Update spec.John MacFarlane
2018-03-25Update spec.txt from repository.John MacFarlane
2018-02-20Fuzz width parameter tooPhil Turnbull
Allow the `width` parameter to be generated too so we get better fuzz-coverage.
2018-02-20Don't discard empty fuzz test-casesPhil Turnbull
We currently discard fuzz test-cases that are empty but empty inputs are valid markdown. This improves the fuzzing coverage slightly.
2017-11-18Also run API tests with CMARK_SHARED=OFFNick Wellnhofer
2017-11-18Rename roundtrip and entity testsNick Wellnhofer
Rename the tests to reflect that they use the library, not the executable.
2017-11-05Fixed exit code for pathological tests.John MacFarlane
2017-11-05Add allowed failures to pathological_tests.py.John MacFarlane
This allows us to include tests that we don't yet know how to pass.
2017-11-05Add timeout to pathological_tests.py.John MacFarlane
Tests must complete in 8 seconds or are errors.
2017-11-05Refactored pathological_tests.pyJohn MacFarlane
2017-08-16Add more pathological tests.Martin Mitas
These tests target the issues #214, #218, #220.
2017-08-09--smart: open quote can never occur right after `]` or `)`.John MacFarlane
Closes #227.
2017-08-01Update spec.John MacFarlane
2017-08-01Update spec.John MacFarlane
2017-07-13Reverted mistaken fix to #193.John MacFarlane
Commit 14ea489f5dd6e3d07e23f104d6c9ce441d05751b
2017-06-29Updated spec.txt.John MacFarlane
2017-06-27Add Makefile target and harness to fuzz with libFuzzerPhil Turnbull
This can be run locally with `make libFuzzer` but the harness will be integrated into oss-fuzz for large-scale fuzzing.