diff options
Diffstat (limited to 'subversion/tests/libsvn_subr/subst_translate-test.c')
-rw-r--r-- | subversion/tests/libsvn_subr/subst_translate-test.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/subversion/tests/libsvn_subr/subst_translate-test.c b/subversion/tests/libsvn_subr/subst_translate-test.c index 1e555f2..0c4ee96 100644 --- a/subversion/tests/libsvn_subr/subst_translate-test.c +++ b/subversion/tests/libsvn_subr/subst_translate-test.c @@ -115,7 +115,7 @@ test_svn_subst_translate_string2_null_encoding_helper(apr_pool_t *pool) svn_string_t *new_value = NULL; svn_boolean_t translated_to_utf8 = FALSE; svn_boolean_t translated_line_endings = TRUE; - /* 'Æ', which is 0xc6 in both ISO-8859-1 and Windows-1252 */ + /* The 'AE' ligature, which is 0xc6 in both ISO-8859-1 and Windows-1252 */ svn_string_t *source_string = svn_string_create("\xc6", pool); SVN_ERR(svn_subst_translate_string2(&new_value, &translated_to_utf8, @@ -397,7 +397,7 @@ test_svn_subst_long_keywords(apr_pool_t *pool) "01234567890123456789012345678901234567890123456789" "012345678901234567890123456789012345678901234567"; - /* The longest keyword that can be expanded: the value is empty. */ + /* The longest keyword that can be expanded: the value is empty. */ const char keyword_z[] = "Q" "01234567890123456789012345678901234567890123456789" @@ -500,7 +500,9 @@ test_svn_subst_long_keywords(apr_pool_t *pool) return SVN_NO_ERROR; } -struct svn_test_descriptor_t test_funcs[] = +static int max_threads = 1; + +static struct svn_test_descriptor_t test_funcs[] = { SVN_TEST_NULL, SVN_TEST_PASS2(test_svn_subst_translate_string2, @@ -519,3 +521,6 @@ struct svn_test_descriptor_t test_funcs[] = "test long keywords (issue 4350)"), SVN_TEST_NULL }; + +SVN_TEST_MAIN + |