From 6d9c531237f4da4d4e7ec1a7bff9f60b9aae0836 Mon Sep 17 00:00:00 2001
From: David Vossel <dvossel@digium.com>
Date: Thu, 11 Feb 2010 21:57:37 +0000
Subject: [PATCH] fixes some test description formatting inconsistencies so log
 file looks nice

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@246338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/sip/config_parser.c  | 8 ++++----
 channels/sip/reqresp_parser.c | 4 ++--
 tests/test_event.c            | 3 +--
 tests/test_heap.c             | 3 +--
 4 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/channels/sip/config_parser.c b/channels/sip/config_parser.c
index cf040a928d..d800c55822 100644
--- a/channels/sip/config_parser.c
+++ b/channels/sip/config_parser.c
@@ -235,8 +235,8 @@ AST_TEST_DEFINE(sip_parse_register_line_test)
 		info->category = "channels/chan_sip/";
 		info->summary = "tests sip register line parsing";
 		info->description =
-							" Tests parsing of various register line configurations."
-							" Verifies output matches expected behavior.";
+							"Tests parsing of various register line configurations. "
+							"Verifies output matches expected behavior.";
 		return AST_TEST_NOT_RUN;
 	case TEST_EXECUTE:
 		break;
@@ -573,8 +573,8 @@ AST_TEST_DEFINE(sip_parse_host_line_test)
 		info->category = "channels/chan_sip/";
 		info->summary = "tests sip.conf host line parsing";
 		info->description =
-							" Tests parsing of various host line configurations."
-							" Verifies output matches expected behavior.";
+							"Tests parsing of various host line configurations. "
+							"Verifies output matches expected behavior.";
 		return AST_TEST_NOT_RUN;
 	case TEST_EXECUTE:
 		break;
diff --git a/channels/sip/reqresp_parser.c b/channels/sip/reqresp_parser.c
index 3697e7633c..803286c6ba 100644
--- a/channels/sip/reqresp_parser.c
+++ b/channels/sip/reqresp_parser.c
@@ -133,8 +133,8 @@ AST_TEST_DEFINE(sip_parse_uri_test)
 		info->category = "channels/chan_sip/";
 		info->summary = "tests sip uri parsing";
 		info->description =
-							" Tests parsing of various URIs"
-							" Verifies output matches expected behavior.";
+							"Tests parsing of various URIs "
+							"Verifies output matches expected behavior.";
 		return AST_TEST_NOT_RUN;
 	case TEST_EXECUTE:
 		break;
diff --git a/tests/test_event.c b/tests/test_event.c
index 77a641726e..47895b5641 100644
--- a/tests/test_event.c
+++ b/tests/test_event.c
@@ -104,8 +104,7 @@ AST_TEST_DEFINE(event_new_test)
 		info->summary = "Test event creation";
 		info->description =
 			"This test exercises the API calls that allow allocation "
-			"of an ast_event."
-			"\n";
+			"of an ast_event.";
 		return AST_TEST_NOT_RUN;
 	case TEST_EXECUTE:
 		break;
diff --git a/tests/test_heap.c b/tests/test_heap.c
index a8dd13e0a1..4af1492be3 100644
--- a/tests/test_heap.c
+++ b/tests/test_heap.c
@@ -135,8 +135,7 @@ AST_TEST_DEFINE(heap_test_2)
 				"Push one hundred thousand random elements on to a heap, "
 				"verify that the heap has been properly constructed, "
 				"and then ensure that the elements are come back off "
-				"in the proper order."
-				"\n";
+				"in the proper order.";
 		return AST_TEST_NOT_RUN;
 	case TEST_EXECUTE:
 		break;
-- 
GitLab