File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -127,23 +127,6 @@ func TestNewConnectionFromConnString(t *testing.T) {
127
127
},
128
128
}
129
129
130
- // Create a directory with read-only permissions for permission testing
131
- readOnlyDir := filepath .Join (tmpDir , "readonly_dir" )
132
- if err := os .MkdirAll (readOnlyDir , 0555 ); err != nil {
133
- t .Fatalf ("Failed to create read-only directory: %v" , err )
134
- }
135
- tests = append (tests , struct {
136
- name string
137
- connStr string
138
- wantErr bool
139
- checkPath bool
140
- }{
141
- name : "write mode with read-only dir" ,
142
- connStr : filepath .Join (readOnlyDir , "test.db" ),
143
- wantErr : true ,
144
- checkPath : true ,
145
- })
146
-
147
130
for _ , tt := range tests {
148
131
t .Run (tt .name , func (t * testing.T ) {
149
132
conn , err := NewConnectionFromConnString (tt .connStr )
You can’t perform that action at this time.
0 commit comments