1
0
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:
Matt Bell
2014-10-15 20:51:17 -07:00
committed by Juan Batiz-Benet
parent d2176c05eb
commit 4f06c6fdba
3 changed files with 65 additions and 64 deletions

View File

@ -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)
}
}
}