{"action":"opened","issue":{"url":"https://api.github.com/repos/javaparser/javaparser/issues/167","labels_url":"https://api.github.com/repos/javaparser/javaparser/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/javaparser/javaparser/issues/167/comments","events_url":"https://api.github.com/repos/javaparser/javaparser/issues/167/events","html_url":"https://github.com/javaparser/javaparser/issues/167","id":97643357,"number":167,"title":"Dump tests don't work because of false delimiter support on Windows","user":{"login":"maxi777","id":2117785,"avatar_url":"https://avatars.githubusercontent.com/u/2117785?v=3","gravatar_id":"","url":"https://api.github.com/users/maxi777","html_url":"https://github.com/maxi777","followers_url":"https://api.github.com/users/maxi777/followers","following_url":"https://api.github.com/users/maxi777/following{/other_user}","gists_url":"https://api.github.com/users/maxi777/gists{/gist_id}","starred_url":"https://api.github.com/users/maxi777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxi777/subscriptions","organizations_url":"https://api.github.com/users/maxi777/orgs","repos_url":"https://api.github.com/users/maxi777/repos","events_url":"https://api.github.com/users/maxi777/events{/privacy}","received_events_url":"https://api.github.com/users/maxi777/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-28T08:19:44Z","updated_at":"2015-07-28T08:19:44Z","closed_at":null,"body":"I run junit Tests on eclipse on Windows and some tests fail because of false delimiter support.\r\nThe failing tests are all with the dump scenarios and assertions seem always like this: \r\n\r\nExpected: is \"public class A {\\r\\n\\r\\n    Object foo = new Object();\\r\\n}\"\r\n     but: was \"public class A {\\n\\n    Object foo = new Object();\\n}\"\r\n\r\n\r\nThe reason is that jBehave provides with @Given a string with OS-specific delimiters. In case of Windows the delimiter of the newline is \"\\r\\n\". But the javaparser provides after parsing a string the Unix-specific newline-delimiter, in this case \"\\n\".\r\n\r\nWhat I tried to do: I changed the delimiters of the story-files to the Unix-like, and checked via notepad++ that there are really Unix-like delimiters, but I didn't work :( "}}