fix: use correctly formatted comments
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user