From c6be3074bb2b8b653b28280a718554ed27d2eb2a Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Sat, 27 Mar 2004 01:31:40 +0000 Subject: [PATCH] ICU-2421 Don't use // in a C file. X-SVN-Rev: 14784 --- icu4c/source/test/cintltst/reapits.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/icu4c/source/test/cintltst/reapits.c b/icu4c/source/test/cintltst/reapits.c index c3486861c19..18355795f02 100644 --- a/icu4c/source/test/cintltst/reapits.c +++ b/icu4c/source/test/cintltst/reapits.c @@ -816,7 +816,7 @@ void TestRegexCAPI(void) { TEST_ASSERT_STRING("tag-b", fields[3], TRUE); TEST_ASSERT_STRING(" third", fields[4], TRUE); TEST_ASSERT(fields[5] == NULL); - spaceNeeded = strlen("first .tag-a. second.tag-b. third."); // "." at NUL positions + spaceNeeded = strlen("first .tag-a. second.tag-b. third."); /* "." at NUL positions */ TEST_ASSERT(spaceNeeded == requiredCapacity); @@ -831,7 +831,7 @@ void TestRegexCAPI(void) { TEST_ASSERT_STRING(" second third", fields[1], TRUE); TEST_ASSERT(fields[2] == (UChar *)-1); - spaceNeeded = strlen("first . second third."); // "." at NUL positions + spaceNeeded = strlen("first . second third."); /* "." at NUL positions */ TEST_ASSERT(spaceNeeded == requiredCapacity); /* Split with too few output strings available (3) */ @@ -846,7 +846,7 @@ void TestRegexCAPI(void) { TEST_ASSERT_STRING(" second third", fields[2], TRUE); TEST_ASSERT(fields[3] == (UChar *)-1); - spaceNeeded = strlen("first .tag-a. second third."); // "." at NUL positions + spaceNeeded = strlen("first .tag-a. second third."); /* "." at NUL positions */ TEST_ASSERT(spaceNeeded == requiredCapacity); /* Split with just enough output strings available (5) */ @@ -863,7 +863,7 @@ void TestRegexCAPI(void) { TEST_ASSERT_STRING(" third", fields[4], TRUE); TEST_ASSERT(fields[5] == (UChar *)-1); - spaceNeeded = strlen("first .tag-a. second.tag-b. third."); // "." at NUL positions + spaceNeeded = strlen("first .tag-a. second.tag-b. third."); /* "." at NUL positions */ TEST_ASSERT(spaceNeeded == requiredCapacity); @@ -884,7 +884,7 @@ void TestRegexCAPI(void) { TEST_ASSERT(fields[4] == NULL); TEST_ASSERT(fields[8] == NULL); TEST_ASSERT(fields[9] == (UChar *)-1); - spaceNeeded = strlen("first .tag-a. second.tag-b."); // "." at NUL positions + spaceNeeded = strlen("first .tag-a. second.tag-b."); /* "." at NUL positions */ TEST_ASSERT(spaceNeeded == requiredCapacity); uregex_close(re);