Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Cool (0.12 sec)

  1. internal/event/config_test.go

    package event
    
    import (
    	"context"
    	"encoding/xml"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    func TestValidateFilterRuleValue(t *testing.T) {
    	testCases := []struct {
    		value     string
    		expectErr bool
    	}{
    		{"foo/.", true},
    		{"../foo", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  2. internal/config/config_test.go

    			}
    			if !found {
    				t.Errorf("Expected %s, got %s", test.expectedFields, gotFields)
    			}
    		})
    	}
    }
    
    func TestValidRegion(t *testing.T) {
    	tests := []struct {
    		name    string
    		success bool
    	}{
    		{name: "us-east-1", success: true},
    		{name: "us_east", success: true},
    		{name: "helloWorld", success: true},
    		{name: "-fdslka", success: false},
    		{name: "^00[", success: false},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
Back to top