{"push_id":3024370242,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"bf1872be3ebbd4721f4fbc0c899044846517f3ee","before":"9cf69447f48f82601d375ddc38f07116d8dd1914","commits":[{"sha":"bf1872be3ebbd4721f4fbc0c899044846517f3ee","author":{"name":"Jeff Kreeftmeijer","email":"847f8d7fd8792285643bf1f54fac54e3e68305f2@gmail.com"},"message":"Remove extra newline in generated context test cases (#3129)\n\nCurrently, context tests generated by running the html generator (`mix\r\nphx.gen.context Accounts User users name:string`), produce a test with\r\nan extra line with some trailing whitespace (illustrated with dots\r\nhere):\r\n\r\n        test \"update_user/2 with valid data updates the user\" do\r\n          user = user_fixture()\r\n          assert {:ok, %User{} = user} = Accounts.update_user(user, @update_attrs)\r\n\r\n    ······\r\n          assert user.name == \"some updated name\"\r\n        end\r\n\r\nThis patch removes both newlines from the template, resulting in a\r\ngenerated test like this:\r\n\r\n        test \"update_user/2 with valid data updates the user\" do\r\n          user = user_fixture()\r\n          assert {:ok, %User{} = user} = Accounts.update_user(user, @update_attrs)\r\n          assert user.name == \"some updated name\"\r\n        end","distinct":true,"url":"https://api.github.com/repos/phoenixframework/phoenix/commits/bf1872be3ebbd4721f4fbc0c899044846517f3ee"}]}
{"actor":{"display_login":"chrismccord"}}