aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-08-06 01:23:02 +0700
committerShulhan <ms@kilabit.info>2022-08-06 01:25:29 +0700
commit8a20b8b9d18543622eca6450091a44112efe34b0 (patch)
treeea932b03716f9b8ba7d54a8e625ebf30959677ab
parent9fe1ecf6050bbebfe4096e5c41a1e711dd16190d (diff)
downloadasciidoctor-go-8a20b8b9d18543622eca6450091a44112efe34b0.tar.xz
Release asciidoctor-go v0.3.1 (2022-08-06)v0.3.1
=== Chores * all: rewrite unit tests for inlineParser using test.Data * all: cleaning up codes * go.mod: update share to v0.40.0
-rw-r--r--CHANGELOG.adoc26
-rw-r--r--asciidoctor.go2
-rw-r--r--testdata/test.got.html2
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>