Update agent/coordinate_endpoint_test.go

Co-Authored-By: Freddy <freddygv@users.noreply.github.com>
This commit is contained in:
Sarah Christoff 2019-05-17 14:32:50 -05:00 committed by GitHub
parent b96d9b01bd
commit 2a018e5e0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ func TestCoordinate_Nodes(t *testing.T) {
// Check that coordinates are empty before registering a node
coordinates, ok := obj.(structs.Coordinates)
if !ok {
t.Fatalf("expected: structs.Coordinates, received: %v", coordinates)
t.Fatalf("expected: structs.Coordinates, received: %+v", obj)
}
if len(coordinates) != 0 {