{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss/issues/445","labels_url":"https://api.github.com/repos/postcss/postcss/issues/445/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss/issues/445/comments","events_url":"https://api.github.com/repos/postcss/postcss/issues/445/events","html_url":"https://github.com/postcss/postcss/issues/445","id":97131779,"number":445,"title":"Tests fail on Windows","user":{"login":"jedmao","id":1058243,"avatar_url":"https://avatars.githubusercontent.com/u/1058243?v=3","gravatar_id":"","url":"https://api.github.com/users/jedmao","html_url":"https://github.com/jedmao","followers_url":"https://api.github.com/users/jedmao/followers","following_url":"https://api.github.com/users/jedmao/following{/other_user}","gists_url":"https://api.github.com/users/jedmao/gists{/gist_id}","starred_url":"https://api.github.com/users/jedmao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedmao/subscriptions","organizations_url":"https://api.github.com/users/jedmao/orgs","repos_url":"https://api.github.com/users/jedmao/repos","events_url":"https://api.github.com/users/jedmao/events{/privacy}","received_events_url":"https://api.github.com/users/jedmao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/postcss/postcss/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-07-24T19:53:37Z","updated_at":"2015-08-02T06:09:12Z","closed_at":null,"body":"I have 28 tests failing on Windows, I think mostly due to file path issues. Unfortunately, it's rather hard to fix, because it's reading a large JSON file and checking the equality in some tests (e.g., [this line](https://github.com/postcss/postcss/blob/ac8c257ed5ae77ea688f2e5a20e88d743427250a/test/parse.js#L52)).\r\n\r\nMocha gives the following error in that case:\r\n```\r\n          \"source\": {\r\n              \"input\": {\r\n                  \"css\": \"a {\\n\\tcolor: black\\n}\\n\",\r\n                  \"safe\": false,\r\n     -            \"file\": \"z:\\\\tab.css\",\r\n     -            \"from\": \"z:\\\\tab.css\"\r\n     +            \"file\": \"/tab.css\",\r\n     +            \"from\": \"/tab.css\"\r\n              }\r\n          },\r\n```\r\n\r\nAny suggestions on a strategy to fix this? I'm willing to help."},"comment":{"url":"https://api.github.com/repos/postcss/postcss/issues/comments/126993181","html_url":"https://github.com/postcss/postcss/issues/445#issuecomment-126993181","issue_url":"https://api.github.com/repos/postcss/postcss/issues/445","id":126993181,"user":{"login":"lydell","id":2142817,"avatar_url":"https://avatars.githubusercontent.com/u/2142817?v=3","gravatar_id":"","url":"https://api.github.com/users/lydell","html_url":"https://github.com/lydell","followers_url":"https://api.github.com/users/lydell/followers","following_url":"https://api.github.com/users/lydell/following{/other_user}","gists_url":"https://api.github.com/users/lydell/gists{/gist_id}","starred_url":"https://api.github.com/users/lydell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lydell/subscriptions","organizations_url":"https://api.github.com/users/lydell/orgs","repos_url":"https://api.github.com/users/lydell/repos","events_url":"https://api.github.com/users/lydell/events{/privacy}","received_events_url":"https://api.github.com/users/lydell/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T06:09:12Z","updated_at":"2015-08-02T06:09:12Z","body":"@ai I used to develop for Node.js on Windows (but thankfully I don't anymore). As far as I remember, all you need to install is git, which includes ”git bash” which gives you a nice unix shell and a bunch of unix tools, as well as one of the official Node.js binaries to get Node.js (and of course a sane text editor and web browser helps too). I almost never had problems running Node.js this way (unless a project uses `make`—then you're basically screwed)."}}