{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2737","repository_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2737/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2737/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2737/events","html_url":"https://github.com/rust-lang-nursery/rustfmt/issues/2737","id":326743939,"number":2737,"title":"Unit test failing on windows with `core.autocrlf=true`","user":{"login":"thibaultdelor","id":693797,"avatar_url":"https://avatars2.githubusercontent.com/u/693797?v=4","gravatar_id":"","url":"https://api.github.com/users/thibaultdelor","html_url":"https://github.com/thibaultdelor","followers_url":"https://api.github.com/users/thibaultdelor/followers","following_url":"https://api.github.com/users/thibaultdelor/following{/other_user}","gists_url":"https://api.github.com/users/thibaultdelor/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaultdelor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaultdelor/subscriptions","organizations_url":"https://api.github.com/users/thibaultdelor/orgs","repos_url":"https://api.github.com/users/thibaultdelor/repos","events_url":"https://api.github.com/users/thibaultdelor/events{/privacy}","received_events_url":"https://api.github.com/users/thibaultdelor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-26T14:53:13Z","updated_at":"2018-05-27T22:13:10Z","closed_at":"2018-05-27T22:13:10Z","author_association":"CONTRIBUTOR","body":"With git being configured with `core.autocrlf=true` I get :\r\n```shell\r\n[...]\r\ntest test::verify_config_test_names ... ok\r\n\r\nMismatch at tests/source\\file-lines-6.rs:8:\r\n     fn bar() {\r\n         // test\r\n         let i = 12;\r\n+\r\n                                  // test\r\n     }\r\n\r\ntest test::system_tests ... FAILED\r\ntest test::idempotence_tests ... ok\r\ntest test::self_tests ... ok\r\ntest test::verify_check_works ... ok\r\ntest test::verify_diff_works ... ok\r\n\r\nfailures:\r\n\r\n---- test::system_tests stdout ----\r\nRan 259 system tests.\r\nthread 'test::system_tests' panicked at 'assertion failed: `(left == right)`\r\n  left: `1`,\r\n right: `0`: 1 system tests failed', src\\test\\mod.rs:118:5\r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace.\r\n```\r\n\r\nAfter a long session of git bisect I found that the responsible commit was 53616f63b13935df6c761a449bfa940d3146ef47\r\n"}}
{"actor":{"display_login":"nrc"}}