function run_get_pathname_test(segments, expected) {
	const route = /** @type {import('@sveltejs/kit').RouteDefinition<any>} */ ({ segments });
	assert.equal(get_pathname(route), expected);
}
@param {import('@sveltejs/kit').RouteDefinition<any>['segments']} segments
@param {string} expected