diff options
| author | Shulhan <ms@kilabit.info> | 2022-07-24 02:30:28 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-07-24 02:30:28 +0700 |
| commit | 19e2b864ea304f6ab7bd92e97fb1017988f527a7 (patch) | |
| tree | 4350e03140bc3d8dd85a45fe8b947ed89de92363 /go.sum | |
| parent | 5a88e6cc970c315958d044d78e776a3b02bc0c14 (diff) | |
| download | asciidoctor-go-19e2b864ea304f6ab7bd92e97fb1017988f527a7.tar.xz | |
all: rewrite test using lib/test.Data
Previously, to test parser and check the generated HTML, we write AsciDoc
input and expected HTML output using literal string `...`.
The text of input and output sometimes long, take multiple lines, which
makes the test code ugly, hard to write, and read.
Using lib/test.Data we can write the input and output as the AsciiDoc
markup and the HTML markup as is, simplify writing the test and more
readable.
Diffstat (limited to 'go.sum')
| -rw-r--r-- | go.sum | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,2 +1,2 @@ -github.com/shuLhan/share v0.39.0 h1:pga+HQqKeHgPiIs7b5sutf59uM/PsNqO2VlifZFKqTU= -github.com/shuLhan/share v0.39.0/go.mod h1:1phZr6PX+8YLCOeNvx92J14/AV0mTo0Ebbc1SmzzYvk= +github.com/shuLhan/share v0.39.1-0.20220723102219-eb932c941bd3 h1:QZ7p0n/NEcvtiwBeI2mWnVrwO9Hwxp2W0+sUs7dBORU= +github.com/shuLhan/share v0.39.1-0.20220723102219-eb932c941bd3/go.mod h1:hb3Kis5s4jPume4YD15JELE67naFybtuALshhh9TlOg= |
