Skip to content

Commit

Permalink
Merge pull request #371 from jprichardson/edit-copy-dev-null-test-desc
Browse files Browse the repository at this point in the history
Edit copy-dev-null test description
  • Loading branch information
jprichardson committed Feb 25, 2017
2 parents cb24018 + d64f8ea commit 0f6d959
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/copy/__tests__/copy-dev-null.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ const assert = require('assert')

let TEST_DIR = ''

describe('fs-extra', () => {
describe('+ copy() - copy /dev/null', () => {
beforeEach(done => {
TEST_DIR = path.join(os.tmpdir(), 'test', 'fs-extra', 'copy-dev-null')
fse.emptyDir(TEST_DIR, done)
})

afterEach(done => fse.remove(TEST_DIR, done))

describe('+ copy()', () => {
it('should error', done => {
describe('> when src is /dev/null', () => {
it('should copy successfully', done => {
// no /dev/null on windows
if (process.platform === 'win32') return done()

Expand Down

0 comments on commit 0f6d959

Please sign in to comment.