mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
Replace a zero-length, non-nil slice with a nil slice (#299)
* Replace a zero-length, non-nil slice with a nil slice * Update codelingo.yaml
This commit is contained in:
committed by
Adrian Gallagher
parent
07216a4422
commit
cdab89a58a
@@ -715,7 +715,7 @@ func TestExtractPort(t *testing.T) {
|
||||
|
||||
func TestOutputCSV(t *testing.T) {
|
||||
path := "../testdata/dump"
|
||||
data := [][]string{}
|
||||
var data [][]string
|
||||
rowOne := []string{"Appended", "to", "two", "dimensional", "array"}
|
||||
rowTwo := []string{"Appended", "to", "two", "dimensional", "array", "two"}
|
||||
data = append(data, rowOne, rowTwo)
|
||||
|
||||
Reference in New Issue
Block a user