mirror of
https://github.com/jimeh/go-golden.git
synced 2026-02-19 11:16:47 +00:00
wip(assertion): incomplete refactor of tests and assertion helpers
Tests have started using github.com/jimeh/go-mocktesting which allows testing unhappy paths where t.Fatal() and related functions are called.
This commit is contained in:
@@ -1 +1 @@
|
||||
<Comic id="2fd5af35-b85e-4f03-8eba-524be28d7a5b" issue="Forty Two">Hello World!</Comic>
|
||||
<comic id="2fd5af35-b85e-4f03-8eba-524be28d7a5b" issue="Forty Two">Hello World!</comic>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Book>
|
||||
<book>
|
||||
<id></id>
|
||||
<title></title>
|
||||
</Book>
|
||||
</book>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Book>
|
||||
<book>
|
||||
<id>cfda163c-d5c1-44a2-909b-5d2ce3a31979</id>
|
||||
<title>The Traveler</title>
|
||||
<author>
|
||||
@@ -6,4 +6,4 @@
|
||||
<last_name>Twelve Hawks</last_name>
|
||||
</author>
|
||||
<year>2005</year>
|
||||
</Book>
|
||||
</book>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Book>
|
||||
<book>
|
||||
<id>cfda163c-d5c1-44a2-909b-5d2ce3a31979</id>
|
||||
<title>The Traveler</title>
|
||||
</Book>
|
||||
</book>
|
||||
@@ -1 +1 @@
|
||||
<Comic id="2fd5af35-b85e-4f03-8eba-524be28d7a5b" issue="Forty Two">Hello World!</Comic>
|
||||
<comic id="2fd5af35-b85e-4f03-8eba-524be28d7a5b" issue="Forty Two">Hello World!</comic>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Article>
|
||||
<article>
|
||||
<id></id>
|
||||
<title></title>
|
||||
</Article>
|
||||
</article>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Article>
|
||||
<article>
|
||||
<id>10eec54d-e30a-4428-be18-01095d889126</id>
|
||||
<title>Time Travel</title>
|
||||
<author>
|
||||
@@ -6,4 +6,4 @@
|
||||
<last_name>Brown</last_name>
|
||||
</author>
|
||||
<date>2021-10-27T22:30:34Z</date>
|
||||
</Article>
|
||||
</article>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Book>
|
||||
<book>
|
||||
<id>10eec54d-e30a-4428-be18-01095d889126</id>
|
||||
<title>Time Travel</title>
|
||||
</Book>
|
||||
</book>
|
||||
@@ -1 +1 @@
|
||||
<Comic id="2fd5af35-b85e-4f03-8eba-524be28d7a5b" issue="Forty Two">Hello World!</Comic>
|
||||
<comic id="2fd5af35-b85e-4f03-8eba-524be28d7a5b" issue="Forty Two">Hello World!</comic>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Book>
|
||||
<book>
|
||||
<id></id>
|
||||
<title></title>
|
||||
</Book>
|
||||
</book>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Book>
|
||||
<book>
|
||||
<id>cfda163c-d5c1-44a2-909b-5d2ce3a31979</id>
|
||||
<title>The Traveler</title>
|
||||
<author>
|
||||
@@ -6,4 +6,4 @@
|
||||
<last_name>Twelve Hawks</last_name>
|
||||
</author>
|
||||
<year>2005</year>
|
||||
</Book>
|
||||
</book>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Book>
|
||||
<book>
|
||||
<id>cfda163c-d5c1-44a2-909b-5d2ce3a31979</id>
|
||||
<title>The Traveler</title>
|
||||
</Book>
|
||||
</book>
|
||||
@@ -1 +1 @@
|
||||
<Comic id="2fd5af35-b85e-4f03-8eba-524be28d7a5b" issue="Forty Two">Hello World!</Comic>
|
||||
<comic id="2fd5af35-b85e-4f03-8eba-524be28d7a5b" issue="Forty Two">Hello World!</comic>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Article>
|
||||
<article>
|
||||
<id></id>
|
||||
<title></title>
|
||||
</Article>
|
||||
</article>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Article>
|
||||
<article>
|
||||
<id>10eec54d-e30a-4428-be18-01095d889126</id>
|
||||
<title>Time Travel</title>
|
||||
<author>
|
||||
@@ -6,4 +6,4 @@
|
||||
<last_name>Brown</last_name>
|
||||
</author>
|
||||
<date>2021-10-27T22:30:34Z</date>
|
||||
</Article>
|
||||
</article>
|
||||
@@ -1,4 +1,4 @@
|
||||
<Book>
|
||||
<book>
|
||||
<id>10eec54d-e30a-4428-be18-01095d889126</id>
|
||||
<title>Time Travel</title>
|
||||
</Book>
|
||||
</book>
|
||||
Reference in New Issue
Block a user