aboutsummaryrefslogtreecommitdiff
path: root/inline_parser_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-04-06 19:32:50 +0700
committerShulhan <ms@kilabit.info>2021-04-06 19:45:04 +0700
commit3a5ca1ea9d097b7c101d76301b6077c20bb8ad44 (patch)
tree5454c1c9d9362284e1481664b93319e4ee862e0a /inline_parser_test.go
parent4c1ded163e57698b227cbee36ae7cad105e34af5 (diff)
downloadasciidoctor-go-3a5ca1ea9d097b7c101d76301b6077c20bb8ad44.tar.xz
go.mod: set minimum Go version to 1.16 and update module share to v0.25.1
The latest update on share v0.25.1 remove the last boolean parameter on lib/test.Assert().
Diffstat (limited to 'inline_parser_test.go')
-rw-r--r--inline_parser_test.go30
1 files changed, 15 insertions, 15 deletions
diff --git a/inline_parser_test.go b/inline_parser_test.go
index 9ce9426..644dbee 100644
--- a/inline_parser_test.go
+++ b/inline_parser_test.go
@@ -44,7 +44,7 @@ func TestInlineParser_do(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -84,7 +84,7 @@ func TestInlineParser_parseAttrRef(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -129,7 +129,7 @@ func TestInlineParser_parseCrossReference(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -186,7 +186,7 @@ func TestInlineParser_parseFormat(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -231,7 +231,7 @@ func TestInlineParser_parseFormatUnconstrained(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -283,7 +283,7 @@ func TestInlineParser_parseInlineID(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -328,7 +328,7 @@ func TestInlineParser_parseInlineIDShort(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -371,7 +371,7 @@ image:linux.png[2]`,
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -413,7 +413,7 @@ func TestInlineParser_parsePassthrough(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -461,7 +461,7 @@ func TestInlineParser_parsePassthroughDouble(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -515,7 +515,7 @@ func TestInlineParser_parsePassthroughTriple(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -566,7 +566,7 @@ func TestInlineParser_parseQuote(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -608,7 +608,7 @@ func TestInlineParser_parseSubscsript(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -650,7 +650,7 @@ func TestInlineParser_parseSuperscript(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}
@@ -707,6 +707,6 @@ func TestInlineParser_parseURL(t *testing.T) {
}
got := buf.String()
- test.Assert(t, c.content, c.exp, got, true)
+ test.Assert(t, c.content, c.exp, got)
}
}