diff --git a/table_test.go b/table_test.go index cf8a55f..686f61a 100644 --- a/table_test.go +++ b/table_test.go @@ -15,6 +15,7 @@ func TestNotEmptyTableRequestOptions(t *testing.T) { req := TableRequest{ Sources: []int{0, 1, 2}, Destinations: []int{1, 3}, + Annotations: []string{AnnotationsDuration, AnnotationsDistance}, } - assert.Equal(t, "destinations=1;3&sources=0;1;2", req.request().options.encode()) + assert.Equal(t, "destinations=1;3&sources=0;1;2&annotations=duration,distance", req.request().options.encode()) }