Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestTargetDUnmarshalJSON (0.21 sec)

  1. internal/event/targetid_test.go

    		if !testCase.expectErr {
    			if !reflect.DeepEqual(data, testCase.expectedData) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data))
    			}
    		}
    	}
    }
    
    func TestTargetDUnmarshalJSON(t *testing.T) {
    	testCases := []struct {
    		data             []byte
    		expectedTargetID *TargetID
    		expectErr        bool
    	}{
    		{[]byte(`""`), nil, true},
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. internal/config/lambda/event/targetid_test.go

    		if !testCase.expectErr {
    			if !reflect.DeepEqual(data, testCase.expectedData) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data))
    			}
    		}
    	}
    }
    
    func TestTargetDUnmarshalJSON(t *testing.T) {
    	testCases := []struct {
    		data             []byte
    		expectedTargetID *TargetID
    		expectErr        bool
    	}{
    		{[]byte(`""`), nil, true},
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top