{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/test/issues/385","labels_url":"https://api.github.com/repos/dart-lang/test/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/test/issues/385/comments","events_url":"https://api.github.com/repos/dart-lang/test/issues/385/events","html_url":"https://github.com/dart-lang/test/issues/385","id":127633703,"number":385,"title":"Barback integration on Windows","user":{"login":"Fox32","id":648527,"avatar_url":"https://avatars.githubusercontent.com/u/648527?v=3","gravatar_id":"","url":"https://api.github.com/users/Fox32","html_url":"https://github.com/Fox32","followers_url":"https://api.github.com/users/Fox32/followers","following_url":"https://api.github.com/users/Fox32/following{/other_user}","gists_url":"https://api.github.com/users/Fox32/gists{/gist_id}","starred_url":"https://api.github.com/users/Fox32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fox32/subscriptions","organizations_url":"https://api.github.com/users/Fox32/orgs","repos_url":"https://api.github.com/users/Fox32/repos","events_url":"https://api.github.com/users/Fox32/events{/privacy}","received_events_url":"https://api.github.com/users/Fox32/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/test/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/test/labels/needs%20info","name":"needs info","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-20T08:58:00Z","updated_at":"2016-01-22T20:47:33Z","closed_at":null,"body":"When using the Barback integration on Windows, I get an error message for every test like this:\r\n\r\n```\r\n...\r\n00:00 +0 -4: compiling test\\collections\\pool_test.dart\r\n  Failed to load \"test\\collections\\pool_test.dart\":\r\n  Error getting http://localhost:8081/collections%5Cpool_test.html.polymer.boots\r\ntrap.dart.browser_test.dart.js.map: 404 Not Found\r\n  Make sure \"pub serve\" is serving the test/ directory.\r\n....\r\n```\r\n\r\npub serve shows the corresponding error message:\r\n```\r\n...\r\n[test] GET collections%5Cpool_test.html.polymer.bootstrap.dart.browser_test.dart\r\n.js.map => Could not find asset projectz|test/collections%5Cpool_test.html.polym\r\ner.bootstrap.dart.browser_test.dart.js.map.\r\n...\r\n```\r\n\r\nLooks like the test package is using the Windows path separator for http urls but shouldn't. I don't provide a test case as I think any simple test should work. When I fix the url and open it in a browser, it also doesn't load, but that is maybe another problem.\r\n\r\nIm using:\r\nDart VM version: 1.14.0-dev.6.0 (Wed Jan 06 04:27:24 2016) on \"windows_x64\"\r\ntest version 0.12.5"},"comment":{"url":"https://api.github.com/repos/dart-lang/test/issues/comments/174041934","html_url":"https://github.com/dart-lang/test/issues/385#issuecomment-174041934","issue_url":"https://api.github.com/repos/dart-lang/test/issues/385","id":174041934,"user":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T20:47:33Z","updated_at":"2016-01-22T20:47:33Z","body":"I have no idea why your request would be succeeding when you do it manually but failing from test.\r\n\r\nI'm going to see if I can reproduce this outside Windows. Can you link me to your project, or email me a zip file?"}}