Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParseStorageClass (0.22 sec)

  1. internal/config/storageclass/storage-class_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package storageclass
    
    import (
    	"errors"
    	"reflect"
    	"testing"
    )
    
    func TestParseStorageClass(t *testing.T) {
    	tests := []struct {
    		storageClassEnv string
    		wantSc          StorageClass
    		expectedError   error
    	}{
    		{
    			"EC:3",
    			StorageClass{
    				Parity: 3,
    			},
    			nil,
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top