{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/1857","labels_url":"https://api.github.com/repos/neovim/neovim/issues/1857/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/1857/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/1857/events","html_url":"https://github.com/neovim/neovim/pull/1857","id":54939422,"number":1857,"title":"[WIP] [Advice Needed] Converting legacy test 024, however it is seriously broken!","user":{"login":"alcarney","id":2675694,"avatar_url":"https://avatars.githubusercontent.com/u/2675694?v=3","gravatar_id":"","url":"https://api.github.com/users/alcarney","html_url":"https://github.com/alcarney","followers_url":"https://api.github.com/users/alcarney/followers","following_url":"https://api.github.com/users/alcarney/following{/other_user}","gists_url":"https://api.github.com/users/alcarney/gists{/gist_id}","starred_url":"https://api.github.com/users/alcarney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcarney/subscriptions","organizations_url":"https://api.github.com/users/alcarney/orgs","repos_url":"https://api.github.com/users/alcarney/repos","events_url":"https://api.github.com/users/alcarney/events{/privacy}","received_events_url":"https://api.github.com/users/alcarney/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/tests","name":"tests","color":"c7def8"},{"url":"https://api.github.com/repos/neovim/neovim/labels/WIP","name":"WIP","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-20T21:04:24Z","updated_at":"2015-06-16T22:24:20Z","closed_at":"2015-06-16T22:24:20Z","pull_request":{"url":"https://api.github.com/repos/neovim/neovim/pulls/1857","html_url":"https://github.com/neovim/neovim/pull/1857","diff_url":"https://github.com/neovim/neovim/pull/1857.diff","patch_url":"https://github.com/neovim/neovim/pull/1857.patch"},"body":"First let me start off by saying this is my attempt at contributing to open source so please excuse if me if I'm going about this wrong or posting in the wrong place...\r\n\r\nI thought that a test like this would be easy to convert to the format requested in #1286 and for the most part it was however once I tried to run the test it simply fails to pass. Upon closer inspection I discovered that the text being inserted with the `insert` function doesn't match the exact same text in the `expect` function call I added immediately afterwards. \r\n\r\nI've attached a screenshot of the relevent output from `make test` so you can see for yourselves what I'm talking about. It seems to work fine up until the special characters that I've highlighted when it all goes haywire skipping lines etc.\r\n\r\n![2015-01-20-205155_1920x1080_scrot](https://cloud.githubusercontent.com/assets/2675694/5826036/9bf44d68-a0e7-11e4-87dc-e82913201fec.png)\r\n\r\n\r\nNot sure where to go from here, is it a problem with the `insert` function? Am I passing in the text incorrectly? Or should they even be there? Any help or advice would be greatly appreciated"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/112587425","html_url":"https://github.com/neovim/neovim/pull/1857#issuecomment-112587425","issue_url":"https://api.github.com/repos/neovim/neovim/issues/1857","id":112587425,"user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T22:24:20Z","updated_at":"2015-06-16T22:24:20Z","body":"@nelsyeung Thanks very much."}}