mirror of
https://github.com/mgechev/revive.git
synced 2025-07-13 01:00:17 +02:00
refactor: enforce map and slice style (#1131)
This commit is contained in:
@ -159,7 +159,7 @@ func parseInstructions(t *testing.T, filename string, src []byte) []instruction
|
||||
}
|
||||
if line == "OK" && ins == nil {
|
||||
// so our return value will be non-nil
|
||||
ins = make([]instruction, 0)
|
||||
ins = []instruction{}
|
||||
continue
|
||||
}
|
||||
switch extractDataMode(line) {
|
||||
|
Reference in New Issue
Block a user