aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test_util.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/block_test_util.go')
-rw-r--r--tests/block_test_util.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go
index a72799f6e..2db47da57 100644
--- a/tests/block_test_util.go
+++ b/tests/block_test_util.go
@@ -42,6 +42,7 @@ type BlockTest struct {
json btJSON
}
+// UnmarshalJSON implements json.Unmarshaler interface.
func (t *BlockTest) UnmarshalJSON(in []byte) error {
return json.Unmarshal(in, &t.json)
}