[clang-tools-extra] a50df66 - [clangd] Remove redundant code in test. NFC
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 11 08:14:34 PDT 2020
Author: Sam McCall
Date: 2020-04-11T17:14:31+02:00
New Revision: a50df668f6889707cad53f1b5339179e337a9eef
URL: https://github.com/llvm/llvm-project/commit/a50df668f6889707cad53f1b5339179e337a9eef
DIFF: https://github.com/llvm/llvm-project/commit/a50df668f6889707cad53f1b5339179e337a9eef.diff
LOG: [clangd] Remove redundant code in test. NFC
Added:
Modified:
clang-tools-extra/clangd/unittests/SerializationTests.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/unittests/SerializationTests.cpp b/clang-tools-extra/clangd/unittests/SerializationTests.cpp
index 89739f420298..391761a29bad 100644
--- a/clang-tools-extra/clangd/unittests/SerializationTests.cpp
+++ b/clang-tools-extra/clangd/unittests/SerializationTests.cpp
@@ -104,9 +104,6 @@ TEST(SerializationTest, NoCrashOnEmptyYAML) {
}
TEST(SerializationTest, YAMLConversions) {
- auto In = readIndexFile(YAML);
- EXPECT_TRUE(bool(In)) << In.takeError();
-
auto ParsedYAML = readIndexFile(YAML);
ASSERT_TRUE(bool(ParsedYAML)) << ParsedYAML.takeError();
ASSERT_TRUE(bool(ParsedYAML->Symbols));
More information about the cfe-commits
mailing list