projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c4081d
)
ConvertUTFTest: fix misleading empty line
author
Dmitri Gribenko
<gribozavr@gmail.com>
Sat, 10 Jan 2015 05:03:29 +0000
(
05:03
+0000)
committer
Dmitri Gribenko
<gribozavr@gmail.com>
Sat, 10 Jan 2015 05:03:29 +0000
(
05:03
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225580
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/Support/ConvertUTFTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/Support/ConvertUTFTest.cpp
b/unittests/Support/ConvertUTFTest.cpp
index 510b1da96acdf752d3773e9f4beca7d73504bd5b..efb2f106250ac23877990fd4c08390161bf5e66a 100644
(file)
--- a/
unittests/Support/ConvertUTFTest.cpp
+++ b/
unittests/Support/ConvertUTFTest.cpp
@@
-141,8
+141,8
@@
CheckConvertUTF8ToUnicodeScalars(ConvertUTFResultContainer Expected,
if (!Partial)
std::tie(ErrorCode, Decoded) = ConvertUTF8ToUnicodeScalarsLenient(S);
else
-
std::tie(ErrorCode, Decoded) = ConvertUTF8ToUnicodeScalarsPartialLenient(S);
+
if (Expected.ErrorCode != ErrorCode)
return ::testing::AssertionFailure() << "Expected error code "
<< Expected.ErrorCode << ", actual "