Skip to content

Commit

Permalink
Update table_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmichaelchen authored May 23, 2022
1 parent 8459892 commit e36b810
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

0 comments on commit e36b810

Please sign in to comment.