Commit ad906531 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

dnsapi/tests: Constify a character string.

parent 90d1e947
...@@ -154,22 +154,22 @@ static void test_DnsValidateName_A( void ) ...@@ -154,22 +154,22 @@ static void test_DnsValidateName_A( void )
static void test_DnsNameCompare_A( void ) static void test_DnsNameCompare_A( void )
{ {
static CHAR empty[] = "", static const CHAR empty[] = "",
dot[] = ".", dot[] = ".",
dotdot[] = "..", dotdot[] = "..",
A[] = "A", A[] = "A",
a[] = "a", a[] = "a",
B[] = "B", B[] = "B",
b[] = "b", b[] = "b",
A_dot_B[] = "A.B", A_dot_B[] = "A.B",
a_dot_a[] = "a.a", a_dot_a[] = "a.a",
a_dot_b[] = "a.b", a_dot_b[] = "a.b",
a_dot_b_dot[] = "a.b.", a_dot_b_dot[] = "a.b.",
a_dot_b_dotdot[] = "a.b..", a_dot_b_dotdot[] = "a.b..",
B_dot_A[] = "B.A", B_dot_A[] = "B.A",
b_dot_a[] = "b.a", b_dot_a[] = "b.a",
b_dot_a_dot[] = "b.a.", b_dot_a_dot[] = "b.a.",
b_dot_a_dotdot[] = "b.a.."; b_dot_a_dotdot[] = "b.a..";
ok( DnsNameCompare_A( NULL, NULL ) == TRUE, "failed unexpectedly\n" ); ok( DnsNameCompare_A( NULL, NULL ) == TRUE, "failed unexpectedly\n" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment