Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TrimSpace (0.17 sec)

  1. src/bytes/bytes_test.go

    		if !Equal(got, []byte(tc.out)) {
    			t.Errorf("ToValidUTF8(%q, %q) = %q; want %q", tc.in, tc.repl, got, tc.out)
    		}
    	}
    }
    
    func TestTrimSpace(t *testing.T) { runStringTests(t, TrimSpace, "TrimSpace", trimSpaceTests) }
    
    type RepeatTest struct {
    	in, out string
    	count   int
    }
    
    var longString = "a" + string(make([]byte, 1<<16)) + "z"
    
    var RepeatTests = []RepeatTest{
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top