Skip to content

Commit

Permalink
More path normalization, refs #94
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Jul 30, 2013
1 parent 5302297 commit 0e21391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ComponentLoader.coffee
Expand Up @@ -4,8 +4,8 @@ projectRoot = path.resolve __dirname, '../'

exports['Resolve root package path'] = (test) ->
loader = new ComponentLoader projectRoot
loader.getPackagePath 'noflo', (err, path) ->
test.equal path, "#{projectRoot}/package.json"
loader.getPackagePath 'noflo', (err, p) ->
test.equal p, path.resolve projectRoot, "./package.json"
test.done()

exports['Resolve unregistered package path'] = (test) ->
Expand Down

0 comments on commit 0e21391

Please sign in to comment.