mirror of
https://github.com/ipfs/kubo.git
synced 2025-05-30 23:14:37 +08:00
commands: Formatted code
This commit is contained in:

committed by
Juan Batiz-Benet

parent
d2176c05eb
commit
4f06c6fdba
@ -149,11 +149,11 @@ func TestResolving(t *testing.T) {
|
||||
cmdA.Register("b", cmdB)
|
||||
cmdB.Register("c", cmdC)
|
||||
|
||||
cmds, err := cmd.Resolve([]string{"a","b","c"})
|
||||
cmds, err := cmd.Resolve([]string{"a", "b", "c"})
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
if len(cmds) != 4 || cmds[0] != cmd || cmds[1] != cmdA || cmds[2] != cmdB || cmds[3] != cmdC {
|
||||
t.Error("Returned command path is different than expected", cmds)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user