You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: canonical_test.go
    path of file: ./repos/botkube/pkg/httpx
    
    the code of the file until where you have to start completion: package httpx_test

import (
	"testing"

	"github.com/stretchr/testify/assert"

	"github.co
    
func TestCanonicalURLPath(t *testing.T) {
	tests := map[string]struct {
		givenPath string
		expPath   string
	}{
		"no trailing slash": {
			givenPath: "https://api.github.com",
			expPath:   "https://api.github.com/",
		},
		"multiple trailing slashes": {
			givenPath: "https://api.github.com///////////////",
			expPath:   "https://api.github.com/",
		},
		"single trailing slash": {
			givenPath: "https://api.github.com/",
			expPath:   "https://api.github.com/",
		},
	}
	for tn, tc := range tests {
		t.Run(tn, func(t *testing.T) {
			// when
			normalizedPath := httpx.CanonicalURLPath(tc.givenPath)

			// then
			assert.Equal(t, tc.expPath, normalizedPath)
		})
	}
}