forked from coop-cloud/abra
fix: use correctly formatted comments
This commit is contained in:
parent
fdf4854b0c
commit
f28af5e42f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user