diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2015-01-10 05:03:29 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2015-01-10 05:03:29 +0000 |
commit | cbc7ae25daafddeefed7e0f0dc2ca96f1372ea4b (patch) | |
tree | 6d7c137b1a277c98de7c53adc0f15c300f1156e9 /llvm/unittests/Support | |
parent | 24b96b3a05e98f87a6ad0ebce6056b04862630e7 (diff) | |
download | bcm5719-llvm-cbc7ae25daafddeefed7e0f0dc2ca96f1372ea4b.tar.gz bcm5719-llvm-cbc7ae25daafddeefed7e0f0dc2ca96f1372ea4b.zip |
ConvertUTFTest: fix misleading empty line
llvm-svn: 225580
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r-- | llvm/unittests/Support/ConvertUTFTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/ConvertUTFTest.cpp b/llvm/unittests/Support/ConvertUTFTest.cpp index 510b1da96ac..efb2f106250 100644 --- a/llvm/unittests/Support/ConvertUTFTest.cpp +++ b/llvm/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 " |