diff options
author | Matthew Wahab <matthew.wahab@arm.com> | 2015-02-13 13:42:06 +0000 |
---|---|---|
committer | Matthew Wahab <mwahab@gcc.gnu.org> | 2015-02-13 13:42:06 +0000 |
commit | 1e0c223f94b886b4d4e54582a1fb4ea9b5feb722 (patch) | |
tree | a71a6a8492f83ed0ae4e0096ee8ca7ff7ec67ffe /libstdc++-v3/testsuite/28_regex | |
parent | 98056c540e9cfbaf5a463b10f8d179d58b050163 (diff) | |
download | gcc-1e0c223f94b886b4d4e54582a1fb4ea9b5feb722.zip gcc-1e0c223f94b886b4d4e54582a1fb4ea9b5feb722.tar.gz gcc-1e0c223f94b886b4d4e54582a1fb4ea9b5feb722.tar.bz2 |
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
Diffstat (limited to 'libstdc++-v3/testsuite/28_regex')
-rw-r--r-- | libstdc++-v3/testsuite/28_regex/traits/char/isctype.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libstdc++-v3/testsuite/28_regex/traits/char/isctype.cc b/libstdc++-v3/testsuite/28_regex/traits/char/isctype.cc index 0a1071c..8f71910 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/char/isctype.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/char/isctype.cc @@ -51,14 +51,14 @@ test01() 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(nothing)))); - VERIFY(!t.isctype('_', t.lookup_classname(range(digit))));
- VERIFY( t.isctype(' ', t.lookup_classname(range(blank))));
- VERIFY( t.isctype('\t', t.lookup_classname(range(blank))));
-#if defined (NEWLINE_IN_CLASS_BLANK)
- /* On some targets, '\n' is in class 'blank'.
- See https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00059.html. */
- VERIFY( t.isctype('\n', t.lookup_classname(range(blank))));
-#else
+ VERIFY(!t.isctype('_', t.lookup_classname(range(digit)))); + VERIFY( t.isctype(' ', t.lookup_classname(range(blank)))); + VERIFY( t.isctype('\t', t.lookup_classname(range(blank)))); +#if defined (NEWLINE_IN_CLASS_BLANK) + /* On some targets, '\n' is in class 'blank'. + See https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00059.html. */ + VERIFY( t.isctype('\n', t.lookup_classname(range(blank)))); +#else VERIFY(!t.isctype('\n', t.lookup_classname(range(blank)))); #endif VERIFY( t.isctype('t', t.lookup_classname(range(upper), true))); |