Fix the test error message

This commit is contained in:
vishalnayak 2017-05-05 12:58:02 -04:00 committed by Jeff Mitchell
parent 4fe7fc4ef9
commit 186e4af95e

View file

@ -116,7 +116,7 @@ func TestRouter_Mount(t *testing.T) {
mountEntryFetched := r.MatchingMountByID(mountEntry.UUID) mountEntryFetched := r.MatchingMountByID(mountEntry.UUID)
if mountEntryFetched == nil || !reflect.DeepEqual(mountEntry, mountEntryFetched) { if mountEntryFetched == nil || !reflect.DeepEqual(mountEntry, mountEntryFetched) {
t.Fatalf("failed to fetch mount entry using its ID; mountEntry: %#v\n mountEntryFetched: %#v\n", mountEntry, mountEntryFetched) t.Fatalf("failed to fetch mount entry using its ID; expected: %#v\n actual: %#v\n", mountEntry, mountEntryFetched)
} }
mount, prefix, ok := r.MatchingStoragePrefix("logical/foo") mount, prefix, ok := r.MatchingStoragePrefix("logical/foo")