andrewrk / andrewrk/node-mv

Tests broken on Windows: "even with special characters"

Đang mở
#20 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
156
Fork
18
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

While inspecting for a bug, I tried running the tests. These errors happens on both `cmd` and `cygwin`, with Node.js **4.2.1** on Windows 8.1. `D:\Project\` has no particular rights.

```
D:\Project\node_modules\mv> npm t

> mv@2.1.1 test D:\Project\node_modules\mv
> mocha test/test.js --reporter spec

mv
√ should rename a file on the same device
√ should not overwrite if clobber = false
√ should not create directory structure by default
√ should create directory structure when mkdirp option set
√ should work across devices (38ms)
1) should work across devices, even with special characters
√ should move folders (56ms)
√ should move folders across devices (45ms)
2) should move folders across devices, even with special characters

7 passing (342ms)
2 failing

1) mv should work across devices, even with special characters:
Uncaught Error: ENOENT: no such file or directory, open 'D:\Project\node_modules\mv\test\a-*'
at Error (native)

2) mv should move folders across devices, even with special characters:
Uncaught Error: ENOENT: no such file or directory, open 'D:\Project\node_modules\mv\test\a-*'
at Error (native)

npm ERR! Test failed. See above for more details.
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.