diff options
| -rw-r--r-- | CHANGELOG.adoc | 26 | ||||
| -rw-r--r-- | asciidoctor.go | 2 | ||||
| -rw-r--r-- | testdata/test.got.html | 2 |
3 files changed, 28 insertions, 2 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 4259a79..86054d8 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -7,6 +7,32 @@ Shulhan <ms@kilabit.info> :sectanchors: :sectlinks: + +[#v0_3_1] +== asciidoctor-go v0.3.1 (2022-08-06) + +[#v0_3_1_chores] +=== Chores + +all: rewrite unit tests for inlineParser using test.Data:: ++ +-- +Using string literal for testing string input that may contains backtick +or double quote make the test code become unreadable and hard to modify. + +The test.Data help this by moving the input and expected output into +a file that can we write as is. +-- + +all: cleaning up codes:: Use raw string literal whenever possible. + +go.mod: update share to v0.40.0:: ++ +-- +This update fix some issues related to new line on test.Data. +-- + + [#v0_3_0] == asciidoctor-go v0.3.0 (2022-07-24) diff --git a/asciidoctor.go b/asciidoctor.go index 6849811..b6601cf 100644 --- a/asciidoctor.go +++ b/asciidoctor.go @@ -6,7 +6,7 @@ package asciidoctor import "github.com/shuLhan/share/lib/math/big" const ( - Version = `0.3.0` + Version = `0.3.1` ) func init() { diff --git a/testdata/test.got.html b/testdata/test.got.html index 4c0daf7..51a8310 100644 --- a/testdata/test.got.html +++ b/testdata/test.got.html @@ -6,7 +6,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="author" content="Author A, Author mid dle B"> <meta name="description" content="meta description"> -<meta name="generator" content="asciidoctor-go 0.3.0"> +<meta name="generator" content="asciidoctor-go 0.3.1"> <meta name="keywords" content="key, words"> <title>Example Document title</title> <style> |
