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:
@ -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())
|
||||
|
Reference in New Issue
Block a user