Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAppendToMarshal (1.77 sec)

  1. src/net/netip/netip_test.go

    			if wants == "" {
    				wants = test.in
    			}
    			if s != wants {
    				t.Errorf("ParseAddr(%q).String() got %q, want %q", test.in, s, wants)
    			}
    
    			// Check that AppendTo matches MarshalText.
    			TestAppendToMarshal(t, got)
    
    			// Check that MarshalText/UnmarshalText work similarly to
    			// ParseAddr/String (see TestIPMarshalUnmarshal for
    			// marshal-specific behavior that's not common with
    			// ParseAddr/String).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
Back to top