Skip to content

Commit

Permalink
Remove unnecessary prefix in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Jul 15, 2024
1 parent 435f8a3 commit 3c282b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/config/shadowsocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func TestParseShadowsocksURLInvalidCipherInfoFails(t *testing.T) {
}

func TestParseShadowsocksURLUnsupportedCypherFails(t *testing.T) {
configString := "ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwnTpLeTUyN2duU3FEVFB3R0JpQ1RxUnlT@example.com:1234?prefix=HTTP%2F1.1%20"
configString := "ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwnTpLeTUyN2duU3FEVFB3R0JpQ1RxUnlT@example.com:1234"
urls, err := parseConfig(configString)
require.NoError(t, err)
require.Equal(t, 1, len(urls))
Expand Down

0 comments on commit 3c282b9

Please sign in to comment.