Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_minioEnvironFromFile (0.13 sec)

  1. cmd/common-main_test.go

    				t.Error(errors.New("expected error, found success"))
    			}
    			if value != testCase.expectedValue {
    				t.Errorf("Expected %s, got %s", testCase.expectedValue, value)
    			}
    		})
    	}
    }
    
    func Test_minioEnvironFromFile(t *testing.T) {
    	testCases := []struct {
    		content      string
    		expectedErr  bool
    		expectedEkvs []envKV
    	}{
    		{
    			`
    export MINIO_ROOT_USER=minio
    export MINIO_ROOT_PASSWORD=minio123`,
    			false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top