Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCSSEscaper (0.26 sec)

  1. src/html/template/css_test.go

    	}
    	for _, test := range tests {
    		got := string(skipCSSSpace([]byte(test.css)))
    		if got != test.want {
    			t.Errorf("%q: want %q but got %q", test.css, test.want, got)
    		}
    	}
    }
    
    func TestCSSEscaper(t *testing.T) {
    	input := ("\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f" +
    		"\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f" +
    		` !"#$%&'()*+,-./` +
    		`0123456789:;<=>?` +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:38:18 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top