Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAliasingAndClone (0.14 sec)

  1. src/log/slog/record_test.go

    			t.Errorf("depth %d: got (%q, %q, %d), want (%q, %q, %t)",
    				test.depth,
    				got.Function, got.File, got.Line,
    				test.wantFunction, test.wantFile, test.wantLinePositive)
    		}
    	}
    }
    
    func TestAliasingAndClone(t *testing.T) {
    	intAttrs := func(from, to int) []Attr {
    		var as []Attr
    		for i := from; i < to; i++ {
    			as = append(as, Int("k", i))
    		}
    		return as
    	}
    
    	check := func(r Record, want []Attr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 15:10:55 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top