Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/batch-expire_gen_test.go

    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestMarshalUnmarshalBatchJobExpireFilter(t *testing.T) {
    	v := BatchJobExpireFilter{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top