summaryrefslogtreecommitdiff
path: root/tests/test_dns_naptr.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2015-06-24 16:39:38 -0500
committerRichard Mudgett <rmudgett@digium.com>2015-06-24 17:13:31 -0500
commit71a4d1a033548f0f2bdfa0f42522f2c65f84e257 (patch)
tree9d746a77340ade341ca1019309374f8198a307fd /tests/test_dns_naptr.c
parent9c6d72e30dcdee0322a1b4bff5bde387507693c5 (diff)
Unit tests: Fix more unit test description strings.
Analyzing the code shows that the unit test summary and description strings should not end with a new-line character. Where these strings are used in the code a new-line is provided for output. Change-Id: I2f4f37988ec363c8d1c5077a2fc8ca841c5cd30c
Diffstat (limited to 'tests/test_dns_naptr.c')
-rw-r--r--tests/test_dns_naptr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_dns_naptr.c b/tests/test_dns_naptr.c
index c7c7eb364..96c745db9 100644
--- a/tests/test_dns_naptr.c
+++ b/tests/test_dns_naptr.c
@@ -197,7 +197,7 @@ AST_TEST_DEFINE(naptr_resolve_nominal)
info->description = "This test defines four valid NAPTR records and\n"
"performs a resolution of the domain to which they belong. The test\n"
"ensures that all fields of the NAPTR records are parsed correctly\n"
- "and that the records are returned in sorted order\n";
+ "and that the records are returned in sorted order";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -334,7 +334,7 @@ AST_TEST_DEFINE(naptr_resolve_off_nominal_length)
info->description = "This test defines a set of records where the strings provided\n"
"within the record are valid, but the lengths of the strings in the record are\n"
"invalid, either too large or too small. The goal of this test is to ensure that\n"
- "these invalid lengths result in resolution failures\n";
+ "these invalid lengths result in resolution failures";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -374,7 +374,7 @@ AST_TEST_DEFINE(naptr_resolve_off_nominal_flags)
info->description = "This test defines a set of records where the flags provided are\n"
"invalid in some way. This may be due to providing non-alphanumeric characters or\n"
"by providing clashing flags. The result should be that none of the defined records\n"
- "are returned by the resolver\n";
+ "are returned by the resolver";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -405,7 +405,7 @@ AST_TEST_DEFINE(naptr_resolve_off_nominal_services)
info->description = "This test defines a set of records where the services provided are\n"
"invalid in some way. This may be due to providing non-alphanumeric characters, providing\n"
"protocols or resolution services that start with a non-alphabetic character, or\n"
- "providing fields that are too long.\n";
+ "providing fields that are too long.";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -440,7 +440,7 @@ AST_TEST_DEFINE(naptr_resolve_off_nominal_regexp)
info->summary = "Ensure that NAPTR records with invalid regexps are not presented in results";
info->description = "This test defines a set of records where the regexps provided are\n"
"invalid in some way. The test ensures that none of the invalid records are returned\n"
- "when performing a NAPTR lookup\n";
+ "when performing a NAPTR lookup";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;
@@ -466,7 +466,7 @@ AST_TEST_DEFINE(naptr_resolve_off_nominal_interactions)
info->category = "/main/dns/naptr/";
info->summary = "Ensure that NAPTR records with invalid interactions are not presented in results";
info->description = "This test defines a set of records where all parts are individually valid,\n"
- "but when combined do not make sense and are thus invalid.\n";
+ "but when combined do not make sense and are thus invalid.";
return AST_TEST_NOT_RUN;
case TEST_EXECUTE:
break;