1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

removing the mkdirp test

This commit is contained in:
Jeremy Ashkenas 2015-01-29 11:39:18 -05:00
parent 9a38486d08
commit a62e49311e

View file

@ -1,27 +0,0 @@
command = require '../lib/coffee-script/command'
path = require 'path'
fs = require 'fs'
test "mkdirp", ->
deepDir = 'test/mkdirp/deep/dir'
process.argv = [
'node', 'coffee'
'-o', deepDir
'-c', __filename
]
command.run()
name = path.basename __filename, '.coffee'
compiledPath = path.join deepDir, "#{name}.js"
process.on 'exit', ->
exists = fs.existsSync compiledPath
try
fs.unlinkSync compiledPath
fs.rmdirSync 'test/mkdirp/deep/dir'
fs.rmdirSync 'test/mkdirp/deep'
fs.rmdirSync 'test/mkdirp'
ok exists