Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDockerConfigEntryJSONDecode (0.3 sec)

  1. pkg/credentialprovider/config_test.go

    		t.Errorf("Received unexpected error: %v", err)
    	}
    
    	if !reflect.DeepEqual(expect, output) {
    		t.Errorf("Received unexpected output. Expected %#v, got %#v", expect, output)
    	}
    }
    
    func TestDockerConfigEntryJSONDecode(t *testing.T) {
    	tests := []struct {
    		input  []byte
    		expect DockerConfigEntry
    		fail   bool
    	}{
    		// simple case, just decode the fields
    		{
    			// Fake values for testing.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top