From 96897075ba747d650639bb319913a6bb79e30598 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Mon, 1 Oct 2018 22:05:11 -0700 Subject: [PATCH] fix path test Opinionated: Paths should start with /, dammit! --- multiaddr_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiaddr_test.go b/multiaddr_test.go index 42c963d..261cba3 100644 --- a/multiaddr_test.go +++ b/multiaddr_test.go @@ -376,7 +376,7 @@ func TestGetValue(t *testing.T) { a = newMultiaddr(t, "/ip4/0.0.0.0/unix/a/b/c/d") // ending in a path one. assertValueForProto(t, a, P_IP4, "0.0.0.0") - assertValueForProto(t, a, P_UNIX, "a/b/c/d") + assertValueForProto(t, a, P_UNIX, "/a/b/c/d") } func TestFuzzBytes(t *testing.T) {