Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/strconv/quote_test.go

    		}
    		if out := AppendQuote([]byte("abc"), tt.in); string(out) != "abc"+tt.out {
    			t.Errorf("AppendQuote(%q, %s) = %s, want %s", "abc", tt.in, out, "abc"+tt.out)
    		}
    	}
    }
    
    func TestQuoteToASCII(t *testing.T) {
    	for _, tt := range quotetests {
    		if out := QuoteToASCII(tt.in); out != tt.ascii {
    			t.Errorf("QuoteToASCII(%s) = %s, want %s", tt.in, out, tt.ascii)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top