1
0
mirror of https://github.com/danog/blackfriday.git synced 2024-11-26 20:14:43 +01:00

Fixup broken test reporting

Dereference the pointer introduced in f35fae8.
This commit is contained in:
Vytautas Šaltenis 2016-04-05 10:00:34 +03:00
parent 6bd31203b1
commit 76062d428d

View File

@ -64,7 +64,7 @@ func doTestsParam(t *testing.T, tests []string, params TestParams) {
actual := runMarkdown(*candidate, params)
if actual != expected {
t.Errorf("\nInput [%#v]\nExpected[%#v]\nActual [%#v]",
candidate, expected, actual)
*candidate, expected, actual)
}
// now test every substring to stress test bounds checking