- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestConsumeToken (0.1 sec)
-
src/mime/mediatype_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package mime import ( "reflect" "strings" "testing" ) func TestConsumeToken(t *testing.T) { tests := [...][3]string{ {"foo bar", "foo", " bar"}, {"bar", "bar", ""}, {"", "", ""}, {" foo", "", " foo"}, } for _, test := range tests { token, rest := consumeToken(test[0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 26 17:58:37 UTC 2022 - 18.1K bytes - Viewed (0)