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:
parent
9a38486d08
commit
a62e49311e
1 changed files with 0 additions and 27 deletions
|
@ -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
|
Loading…
Reference in a new issue