You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
t a/src/tests.c b/src/tests.c
|
|
index 5f74995..d7b50cf 100644
|
|
--- a/src/tests.c
|
|
+++ b/src/tests.c
|
|
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
|
|
unsigned int testsTotal = 0;
|
|
Test_Type testType;
|
|
|
|
- char noBreak, mustBreak, insideChar;
|
|
+ char noBreak, mustBreak;
|
|
const unsigned int *testSkips; /* Zero terminated array of line numbers to skip in the test. */
|
|
|
|
if (argc != 2)
|
|
@@ -69,7 +69,6 @@ int main(int argc, char *argv[])
|
|
testType = TEST_TYPE_LINE;
|
|
noBreak = LINEBREAK_NOBREAK;
|
|
mustBreak = LINEBREAK_MUSTBREAK;
|
|
- insideChar = LINEBREAK_INSIDEACHAR;
|
|
testSkips = testSkipsLine;
|
|
break;
|
|
case 'w':
|
|
@@ -77,7 +76,6 @@ int main(int argc, char *argv[])
|
|
testType = TEST_TYPE_WORD;
|
|
noBreak = WORDBREAK_NOBREAK;
|
|
mustBreak = WORDBREAK_BREAK;
|
|
- insideChar = WORDBREAK_INSIDEACHAR;
|
|
testSkips = testSkipsWord;
|
|
break;
|
|
case 'g':
|
|
@@ -85,7 +83,6 @@ int main(int argc, char *argv[])
|
|
testType = TEST_TYPE_GRAPHEME;
|
|
noBreak = GRAPHEMEBREAK_NOBREAK;
|
|
mustBreak = GRAPHEMEBREAK_BREAK;
|
|
- insideChar = GRAPHEMEBREAK_INSIDEACHAR;
|
|
testSkips = testSkipsGrapheme;
|
|
break;
|
|
default:
|