Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNilPointerSlice2 (0.08 sec)

  1. tests/preload_suits_test.go

    	}
    
    	if !reflect.DeepEqual(got[0], want2) && !reflect.DeepEqual(got[1], want2) {
    		t.Errorf("got %s; want array containing %s", toJSONString(got), toJSONString(want2))
    	}
    }
    
    func TestNilPointerSlice2(t *testing.T) {
    	type (
    		Level4 struct {
    			ID uint
    		}
    		Level3 struct {
    			ID       uint
    			Level4ID sql.NullInt64 `sql:"index"`
    			Level4   *Level4
    		}
    		Level2 struct {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
Back to top