@cryptotaxi247 / kubo / commits / 23a27b9c6

fix test that didn't respect cmds.Single

License: MIT Signed-off-by: keks <keks@cryptoscope.co>

keks committed Dec 16, 2017 at 17:51 UTC 23a27b9c67c6503121b8922d2701352fc8b90aa3
1 file changed +2 -1
commands/legacy/legacy_test.go
+2 -1
@@ -83,7 +83,8 @@ func TestNewCommand(t *testing.T) {
83 t.Fatal(err)
84 }
85
86 - expected := "Test."
86 + expected := `{"Value":"Test."}
87 +`
88
89 if buf.String() != expected {
90 t.Fatalf("expected string %#v but got %#v", expected, buf.String())