mattbasta / crass

A CSS minifier and utility library for JavaScript
http://mattbasta.com/crass
MIT License
102 stars 6 forks source link

fix(url normalization): tests failing on windows because of path sep.. #61

Closed diegourban closed 7 years ago

diegourban commented 7 years ago

The three tests below were failing on windows because of path normalization:

"Since Windows recognizes multiple path separators, both separators will be replaced by instances of the Windows preferred separator ( \ )" - https://nodejs.org/api/path.html#path_path_normalize_path

mattbasta commented 7 years ago

Looks good! Would you mind adding a test?

mattbasta commented 7 years ago

I'll push a patch release a bit later today.

XhmikosR commented 7 years ago

@mattbasta: you should look into AppVeyor or something similar for Windows testing.

mattbasta commented 7 years ago

@XhmikosR done