10#include "gmock/gmock-matchers.h"
11#include "gmock/gmock.h"
12#include "gtest/gtest.h"
20TEST_F(SwapIfBranchesTest, Test) {
22 EXPECT_EQ(apply(
"^if (true) {return;} else {(void)0;}"),
23 "if (true) {(void)0;} else {return;}");
24 EXPECT_EQ(apply(
"^if (/*error-ok*/) {return;} else {(void)0;}"),
25 "if (/*error-ok*/) {(void)0;} else {return;}")
26 <<
"broken condition";
#define TWEAK_TEST(TweakID)
#define EXPECT_AVAILABLE(MarkedCode)
#define EXPECT_UNAVAILABLE(MarkedCode)
TEST_F(BackgroundIndexTest, NoCrashOnErrorFile)
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//