Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getFields (0.56 sec)

  1. internal/config/config_test.go

    		},
    	}
    	for _, test := range tests {
    		test := test
    		t.Run("", func(t *testing.T) {
    			gotFields := kvFields(test.input, test.keys)
    			if len(gotFields) != len(test.expectedFields) {
    				t.Errorf("Expected keys %d, found %d", len(test.expectedFields), len(gotFields))
    			}
    			found := true
    			for _, field := range gotFields {
    				_, ok := test.expectedFields[field]
    				found = found && ok
    			}
    			if !found {
    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