Commit 1e0c223f by Matthew Wahab Committed by Matthew Wahab

isctype.cc (test01): Fix mixed line-endings introduced in last change.

	* testsuite/28_regex/traits/char/isctype.cc (test01): Fix
	mixed line-endings introduced in last change.

From-SVN: r220682
parent 98056c54
2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
* testsuite/28_regex/traits/char/isctype.cc (test01): Fix
mixed line-endings introduced in last change.
2015-02-12 Matthew Wahab <matthew.wahab@arm.com> 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
* testsuite/28_regex/traits/char/isctype.cc (test01): Replace test * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
......
...@@ -51,14 +51,14 @@ test01() ...@@ -51,14 +51,14 @@ test01()
VERIFY(!t.isctype('e', t.lookup_classname(range(upper)))); VERIFY(!t.isctype('e', t.lookup_classname(range(upper))));
VERIFY( t.isctype('e', t.lookup_classname(range(lower)))); VERIFY( t.isctype('e', t.lookup_classname(range(lower))));
VERIFY(!t.isctype('e', t.lookup_classname(range(nothing)))); VERIFY(!t.isctype('e', t.lookup_classname(range(nothing))));
VERIFY(!t.isctype('_', t.lookup_classname(range(digit)))); VERIFY(!t.isctype('_', t.lookup_classname(range(digit))));
VERIFY( t.isctype(' ', t.lookup_classname(range(blank)))); VERIFY( t.isctype(' ', t.lookup_classname(range(blank))));
VERIFY( t.isctype('\t', t.lookup_classname(range(blank)))); VERIFY( t.isctype('\t', t.lookup_classname(range(blank))));
#if defined (NEWLINE_IN_CLASS_BLANK) #if defined (NEWLINE_IN_CLASS_BLANK)
/* On some targets, '\n' is in class 'blank'. /* On some targets, '\n' is in class 'blank'.
See https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00059.html. */ See https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00059.html. */
VERIFY( t.isctype('\n', t.lookup_classname(range(blank)))); VERIFY( t.isctype('\n', t.lookup_classname(range(blank))));
#else #else
VERIFY(!t.isctype('\n', t.lookup_classname(range(blank)))); VERIFY(!t.isctype('\n', t.lookup_classname(range(blank))));
#endif #endif
VERIFY( t.isctype('t', t.lookup_classname(range(upper), true))); VERIFY( t.isctype('t', t.lookup_classname(range(upper), true)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment