gulp-community / gulp-concat

Streaming concat middleware for gulp
MIT License
792 stars 126 forks source link

Test "should calculate relative path..." failing on windows #117

Closed glcheetham closed 8 years ago

glcheetham commented 8 years ago

Here's a snippet of what mocha gives me when running npm test on windows.

  16 passing (112ms)
  1 failing

  1) gulp-concat concat() with object as argument should calculate relative path from cwd and path in arguments:
     Error: 0 position is not passing assertion: expected 'test\\new.txt' to equal 'test/new.txt'

Obviously this is because NT file paths use the \ character instead of / for the delimiter - and the test has the delimiters hard coded as /