Commit affef93
committed
Skip a new spec for Dir#chdir on Windows when original directory is removed
The following error is raised:
```
Dir#chdir does not raise an Errno::ENOENT if the original directory no longer exists ERROR
Errno::ENOENT: No such file or directory @ dir_chdir0 - D:/a/spec/spec/rubyspec_temp/5588_0/27-testdir1
D:/a/spec/spec/core/dir/chdir_spec.rb:192:in `chdir'
D:/a/spec/spec/core/dir/chdir_spec.rb:192:in `block (4 levels) in <top (required)>'
D:/a/spec/spec/core/dir/chdir_spec.rb:191:in `chdir'
D:/a/spec/spec/core/dir/chdir_spec.rb:191:in `block (3 levels) in <top (required)>'
D:/a/spec/spec/core/dir/chdir_spec.rb:129:in `block in <top (required)>'
D:/a/spec/spec/core/dir/chdir_spec.rb:128:in `<top (required)>'
```1 parent 64e35ae commit affef93
1 file changed
+20
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
193 | 199 | | |
194 | | - | |
195 | 200 | | |
196 | | - | |
197 | | - | |
| 201 | + | |
198 | 202 | | |
199 | | - | |
200 | | - | |
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
| |||
0 commit comments