- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestTargetDMarshalJSON (0.09 sec)
-
internal/config/lambda/event/targetid_test.go
arn := testCase.tid.ToARN(testCase.region) if arn != testCase.expectedARN { t.Fatalf("test %v: ARN: expected: %v, got: %v", i+1, testCase.expectedARN, arn) } } } func TestTargetDMarshalJSON(t *testing.T) { testCases := []struct { tid TargetID expectedData []byte expectErr bool }{ {TargetID{}, []byte(`":"`), false}, {TargetID{"1", "webhook"}, []byte(`"1:webhook"`), false},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 3.5K bytes - Viewed (0) -
internal/event/targetid_test.go
arn := testCase.tid.ToARN(testCase.region) if arn != testCase.expectedARN { t.Fatalf("test %v: ARN: expected: %v, got: %v", i+1, testCase.expectedARN, arn) } } } func TestTargetDMarshalJSON(t *testing.T) { testCases := []struct { tid TargetID expectedData []byte expectErr bool }{ {TargetID{}, []byte(`":"`), false}, {TargetID{"1", "webhook"}, []byte(`"1:webhook"`), false},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.5K bytes - Viewed (0)