diff options
| author | Sam Varshavchik | 2013-12-29 09:31:59 -0500 | 
|---|---|---|
| committer | Sam Varshavchik | 2013-12-29 09:31:59 -0500 | 
| commit | 17317c25aecbf38f43bfcf8e7a63194cd345e696 (patch) | |
| tree | d12e47126ea281cb42cce345e174a8be2d726b6c /unicode/linebreaktest.C | |
| parent | 6c5a9de8c051f9c98fa76cc0318f54290edc7ad4 (diff) | |
| download | courier-libs-17317c25aecbf38f43bfcf8e7a63194cd345e696.tar.bz2 | |
2013-12-29  Sam Varshavchik  <mrsam@courier-mta.com>
	* libunicode: Updated unicode word, grapheme, and linebreaking rules
	* to the Unicode 6.3.0 standard.
Diffstat (limited to 'unicode/linebreaktest.C')
| -rw-r--r-- | unicode/linebreaktest.C | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/unicode/linebreaktest.C b/unicode/linebreaktest.C index 0f20869..0816b22 100644 --- a/unicode/linebreaktest.C +++ b/unicode/linebreaktest.C @@ -16,6 +16,8 @@ static void testsuite()  	std::string buf;  	int linenum=0; +	int flag=0; +  	std::ifstream fp("LineBreakTest.txt");  	if (!fp.is_open()) @@ -124,9 +126,14 @@ static void testsuite()  		{  			std::cerr << "Regression, line " << linenum  				  << ": " << buf << std::endl; -			exit(1); +			flag=1;  		}  	} + +	if (flag) +	{ +		exit(1); +	}  }  static void testlinebreakc() | 
