Index: src/tests/pybin/tools.py
===================================================================
--- src/tests/pybin/tools.py	(revision 3b4571b22f7c674a138e9e645e893e9e7298f6da)
+++ src/tests/pybin/tools.py	(revision f7cb0bc76af10982d6f4f34f060acc53a8dc27f9)
@@ -85,7 +85,7 @@
 				"--unchanged-group-format='%%=' \\"
 				"--changed-group-format='\t\texpected :\n"
-				"%%<"
+				"%%<\n"
 				"\t\tgot :\n"
-				"%%>\n' \\\n"
+				"%%>' \\\n"
 				"--new-line-format='\t\t%%dn\t%%L' \\\n"
 				"--old-line-format='\t\t%%dn\t%%L' \\\n"
@@ -94,3 +94,3 @@
 
 	# fetch return code and error from the diff command
-	return sh(diff_cmd % (lhs, rhs), dry_run, False)
+	return sh(diff_cmd % (lhs, rhs), dry_run, False)	
