• R/O
  • HTTP
  • SSH
  • HTTPS

ccunit: Commit

A C Unit Test Library for C language.


Commit MetaInfo

Revisióne6dfcc18d77bbf379d890ef4c012162732c37135 (tree)
Tiempo2013-07-06 09:35:26
Autortsntsumi <tsntsumi@user...>
Commitertsntsumi

Log Message

Fixed miss spelling.

Cambiar Resumen

Diferencia incremental

--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -857,8 +857,8 @@ COLS_IN_ALPHA_INDEX = 5
857857 # The IGNORE_PREFIX tag can be used to specify one or more prefixes that
858858 # should be ignored while generating the index headers.
859859
860-IGNORE_PREFIX = _ccuint \
861- _CCUnit
860+IGNORE_PREFIX = _ccunit_ ccunit_ CCUNIT_ \
861+ _CCUnit CCUnit
862862
863863 #---------------------------------------------------------------------------
864864 # configuration options related to the HTML output
--- a/src/ccunit/CCUnitReadSuite.c
+++ b/src/ccunit/CCUnitReadSuite.c
@@ -427,8 +427,8 @@ static char* readDocCommentContents ()
427427 */
428428 static char* readDocComment ()
429429 {
430- const char* cmnt = "/**";
431- if (strncmp (line.str, cmnt, strlen(cmnt)) != 0) /* not a comment */
430+ static const char cmnt[] = "/**";
431+ if (strncmp (line.str, cmnt, sizeof (cmnt) - 1) != 0) /* not a comment */
432432 ;
433433 else if (line.str[3] == '*' || line.str[3] == '/') /* not doc */
434434 ;
@@ -501,7 +501,7 @@ getEndOfTest (CCUnitTestType_t type, const char* str)
501501 if (*name && !isspace ((int)*name) && !ispunct ((int)*name))
502502 {
503503 name = NULL;
504- ccunit_dbg ("not a end of test %s: %s", testType, str);
504+ ccunit_dbg ("not an end of test %s: %s", testType, str);
505505 }
506506 else
507507 {
@@ -515,7 +515,7 @@ getEndOfTest (CCUnitTestType_t type, const char* str)
515515 }
516516 }
517517 else
518- ccunit_dbg ("not a end of test %s: %s", testType, str);
518+ ccunit_dbg ("not an end of test %s: %s", testType, str);
519519 return name;
520520 }
521521
Show on old repository browser