1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:58:34 -06:00
go/present/testdata
Russ Cox e41bc02694 present: add end-to-end rendering test
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>
2020-03-23 17:17:23 +00:00
..
basic.p present: add end-to-end rendering test 2020-03-23 17:17:23 +00:00
code.p present: add end-to-end rendering test 2020-03-23 17:17:23 +00:00
code.txt present: add end-to-end rendering test 2020-03-23 17:17:23 +00:00
list.p present: add end-to-end rendering test 2020-03-23 17:17:23 +00:00
media.html present: add end-to-end rendering test 2020-03-23 17:17:23 +00:00
media.p present: add end-to-end rendering test 2020-03-23 17:17:23 +00:00
pre.p present: add end-to-end rendering test 2020-03-23 17:17:23 +00:00
README present: add end-to-end rendering test 2020-03-23 17:17:23 +00:00

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.