Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestQuoteRuneToGraphic (0.27 sec)

  1. src/strconv/quote_test.go

    		}
    		if out := AppendQuoteRuneToASCII([]byte("abc"), tt.in); string(out) != "abc"+tt.ascii {
    			t.Errorf("AppendQuoteRuneToASCII(%q, %U) = %s, want %s", "abc", tt.in, out, "abc"+tt.ascii)
    		}
    	}
    }
    
    func TestQuoteRuneToGraphic(t *testing.T) {
    	for _, tt := range quoterunetests {
    		if out := QuoteRuneToGraphic(tt.in); out != tt.graphic {
    			t.Errorf("QuoteRuneToGraphic(%U) = %s, want %s", tt.in, out, tt.graphic)
    		}
    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