mirror of
https://github.com/golang/go
synced 2024-09-30 22:58:34 -06:00
e41bc02694
See testdata/README for test format. This will make it easier to fix problems and not regress. Markdown tests in followup CL (with bug fixes). Change-Id: I5dedca26d3c29fd428066ffb38c6605343784a19 Reviewed-on: https://go-review.googlesource.com/c/tools/+/224957 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org> |
||
---|---|---|
.. | ||
basic.p | ||
code.p | ||
code.txt | ||
list.p | ||
media.html | ||
media.p | ||
pre.p | ||
README |
This directory contains test data for present's TestTestdata. Each file named *.p or *.md is expected to contain a present article, then a --- line, then the HTML output for that article. By convention, testdata files with a .p extension use legacy present syntax, while testdata file with a .md extension use Markdown. This is only a convention: the Markdown syntax must still begi with "# " to be recognized as Markdown by the present parser. Other files in this directory are supporting files for the articles.