Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/event/name_test.go

    		result := testCase.name.Expand()
    
    		if !reflect.DeepEqual(result, testCase.expectedResult) {
    			t.Errorf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestNameString(t *testing.T) {
    	var blankName Name
    
    	testCases := []struct {
    		name           Name
    		expectedResult string
    	}{
    		{BucketCreated, "s3:BucketCreated:*"},
    		{BucketRemoved, "s3:BucketRemoved:*"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top