Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestWriterBinary (0.13 sec)

  1. src/mime/quotedprintable/writer_test.go

    // license that can be found in the LICENSE file.
    
    package quotedprintable
    
    import (
    	"bytes"
    	"io"
    	"strings"
    	"testing"
    )
    
    func TestWriter(t *testing.T) {
    	testWriter(t, false)
    }
    
    func TestWriterBinary(t *testing.T) {
    	testWriter(t, true)
    }
    
    func testWriter(t *testing.T, binary bool) {
    	tests := []struct {
    		in, want, wantB string
    	}{
    		{in: "", want: ""},
    		{in: "foo bar", want: "foo bar"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:36:47 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top