1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 17:36:38 +08:00

fix test that didn't respect cmds.Single

License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
This commit is contained in:
keks
2017-12-16 17:51:41 +01:00
committed by Jeromy
parent e8ad094448
commit 23a27b9c67

View File

@ -83,7 +83,8 @@ func TestNewCommand(t *testing.T) {
t.Fatal(err)
}
expected := "Test."
expected := `{"Value":"Test."}
`
if buf.String() != expected {
t.Fatalf("expected string %#v but got %#v", expected, buf.String())