gofmt-ed test file

This commit is contained in:
A_D 2019-04-11 14:55:59 +02:00
parent 8ab8147d71
commit 7e1c9b490f
No known key found for this signature in database
GPG Key ID: C242F3DD220FA945

@ -38,24 +38,24 @@ var stripTests = []testcase{
{"te\x034,039st", "te9st"},
{" ▀█▄▀▪.▀ ▀ ▀ ▀ ·▀▀▀▀ ▀█▄▀ ▀▀ █▪ ▀█▄▀▪", " ▀█▄▀▪.▀ ▀ ▀ ▀ ·▀▀▀▀ ▀█▄▀ ▀▀ █▪ ▀█▄▀▪"},
{"test\x02case", "testcase"},
{"", "",},
{"test string", "test string",},
{"test \x03", "test ",},
{"test \x0301string", "test string",},
{"test\x031,2 string", "test string",},
{"test\x0301,02 string", "test string",},
{"test\x03, string", "test, string",},
{"test\x03,12 string", "test string",},
{"\x02\x031,2\x11\x16\x1d\x1e\x0f\x1f", "",},
{"\x03", "",},
{"\x03,", ",",},
{"\x031,2", "",},
{"\x0315,1234", "34",},
{"\x03151234", "1234",},
{"\x03\x03\x03\x03\x03\x03\x03", "",},
{"\x03\x03\x03\x03\x03\x03\x03\x03", "",},
{"\x03,\x031\x0312\x0334,\x0356,\x0378,90\x031234", ",,,34",},
{"\x0312,12\x03121212\x0311,333\x03,3\x038\x0399\x0355\x03test", "12123test",},
{"", ""},
{"test string", "test string"},
{"test \x03", "test "},
{"test \x0301string", "test string"},
{"test\x031,2 string", "test string"},
{"test\x0301,02 string", "test string"},
{"test\x03, string", "test, string"},
{"test\x03,12 string", "test string"},
{"\x02\x031,2\x11\x16\x1d\x1e\x0f\x1f", ""},
{"\x03", ""},
{"\x03,", ","},
{"\x031,2", ""},
{"\x0315,1234", "34"},
{"\x03151234", "1234"},
{"\x03\x03\x03\x03\x03\x03\x03", ""},
{"\x03\x03\x03\x03\x03\x03\x03\x03", ""},
{"\x03,\x031\x0312\x0334,\x0356,\x0378,90\x031234", ",,,34"},
{"\x0312,12\x03121212\x0311,333\x03,3\x038\x0399\x0355\x03test", "12123test"},
}
func TestEscape(t *testing.T) {