dnsapi/tests: Constify a character string.
This commit is contained in:
parent
90d1e9471b
commit
ad906531b2
|
@ -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" );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue