From c8f12adb893414e9981e8ac92c3be58274429a9d Mon Sep 17 00:00:00 2001 From: CodeLingo Bot Date: Wed, 13 Feb 2019 00:59:02 +0000 Subject: [PATCH] Fix function comments based on best practices from Effective Go Signed-off-by: CodeLingo Bot --- json-to-array_test.go | 2 +- json-to-struct_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/json-to-array_test.go b/json-to-array_test.go index f94beaa..ea21e44 100644 --- a/json-to-array_test.go +++ b/json-to-array_test.go @@ -7,7 +7,7 @@ import ( "testing" ) -// Test example document +// TestExampleArray tests example document func TestExampleArray(t *testing.T) { i, err := os.Open(filepath.Join("examples", "example_array.json")) if err != nil { diff --git a/json-to-struct_test.go b/json-to-struct_test.go index fe725e2..a0aa0fd 100644 --- a/json-to-struct_test.go +++ b/json-to-struct_test.go @@ -114,7 +114,7 @@ func TestYamlNumbers(t *testing.T) { } } -// Test example document +// TestExample tests example document func TestExample(t *testing.T) { i, err := os.Open(filepath.Join("examples", "example.json")) if err != nil {