command
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Sep 13, 2024
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Test cases to be embedded
JSON files in this directory are the test cases from the CommonMark spec.
These spec_*.json
files will be embedded in the binary and used to test the specification.
How to update
To update:
- See the CommonMark spec for the latest test cases.
- Edit the
spec_list.json
and run download_specs.go
to download the latest test cases.
- Note that the
spec_list.json
is ordered, from the most recent to the oldest version.
- Update the test of
ExampleListVersion()
at "examples_test.go" to reflect the changes.
Documentation
¶
This package downloads the test cases from the official spec repository.
Edit the "spec_list.json" file to add the specs you want to download.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.