From 859d9a7520a41b486e466752ef2ffa3cbc3783ea Mon Sep 17 00:00:00 2001
From: Josh Rickmar <jrick@conformal.com>
Date: Wed, 25 Feb 2015 15:25:16 -0500
Subject: [PATCH] wire: Display correct RandomUint64 test failures.

---
 wire/common_test.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/wire/common_test.go b/wire/common_test.go
index 9bc810d6..fc549950 100644
--- a/wire/common_test.go
+++ b/wire/common_test.go
@@ -694,10 +694,10 @@ func TestRandomUint64Errors(t *testing.T) {
 	fr := &fakeRandReader{n: 2, err: io.EOF}
 	nonce, err := wire.TstRandomUint64(fr)
 	if err != io.ErrUnexpectedEOF {
-		t.Errorf("TestRandomUint64Fails: Error not expected value of %v [%v]",
-			io.ErrShortBuffer, err)
+		t.Errorf("Error not expected value of %v [%v]",
+			io.ErrUnexpectedEOF, err)
 	}
 	if nonce != 0 {
-		t.Errorf("TestRandomUint64Fails: nonce is not 0 [%v]", nonce)
+		t.Errorf("Nonce is not 0 [%v]", nonce)
 	}
 }