From f28af5e42f28f95c98fd235ed966e3e24ae7d7f1 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Wed, 8 Feb 2023 11:28:38 +0100 Subject: [PATCH] fix: use correctly formatted comments --- pkg/jsontable/jsontable_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/jsontable/jsontable_test.go b/pkg/jsontable/jsontable_test.go index fb50067f..e25c9a2b 100644 --- a/pkg/jsontable/jsontable_test.go +++ b/pkg/jsontable/jsontable_test.go @@ -13,7 +13,7 @@ var TestLine = []string{"1", "2"} var TestGroup = [][]string{{"1", "2", "3"}, {"a", "teohunteohu", "c", "d"}, {"☺", "☹"}} var TestKeys = []string{"key0", "key1", "key2"} -/// test creation +// test creation func TestNewTable(t *testing.T) { var b bytes.Buffer tbl := NewJSONTable(&b) @@ -22,7 +22,7 @@ func TestNewTable(t *testing.T) { } } -/// test adding things +// test adding things func TestTableAdd(t *testing.T) { var b bytes.Buffer tbl := NewJSONTable(&b) @@ -39,7 +39,7 @@ func TestTableAdd(t *testing.T) { } } -/// test JSON output is parsable +// test JSON output is parsable func TestJsonParsable(t *testing.T) { var b bytes.Buffer tbl := NewJSONTable(&b) @@ -58,7 +58,7 @@ func TestJsonParsable(t *testing.T) { } } -/// test identical commands to a tablewriter and jsontable produce the same rendered output +// test identical commands to a tablewriter and jsontable produce the same rendered output func TestTableWriter(t *testing.T) { var bjson bytes.Buffer var btable bytes.Buffer