> @@ -129,14 +129,14 @@ public void testOneRecipe() throws IOException {
>        replay(validatorKey);
>  
>        assertEquals(
> -            fn.apply("foo").render(OsFamily.UNIX),
> +            fn.apply("foo").render(OsFamily.UNIX).replace("\r\n", "\n"),

>  then we will be uploading to the Ubuntu node a script with a mix of Windows 
> and UNIX line terminations

Just to be clear: you're saying this is what _currently_ happens? In that case, 
I'd also vote for fixing the problem rather than making the test failure go 
away - file generation for a specific platform should consistently use the line 
termination _for that platform_, independent of where the files are generated.

It's good the Chef doesn't trip over that, but it still looks like a bug to me.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/5/files#r4919012

Reply via email to