diff --git a/test/gmock.h b/test/gmock.h index f137d080a4..9621e3e1b2 100644 --- a/test/gmock.h +++ b/test/gmock.h @@ -14,7 +14,7 @@ #include "rtc_base/ignore_wundef.h" RTC_PUSH_IGNORING_WUNDEF() -#include "testing/gmock/include/gmock/gmock.h" +#include "testing/gmock/include/gmock/gmock.h" // IWYU pragma: export RTC_POP_IGNORING_WUNDEF() #endif // TEST_GMOCK_H_ diff --git a/test/gtest.h b/test/gtest.h index fa4396420e..68948e0df4 100644 --- a/test/gtest.h +++ b/test/gtest.h @@ -14,8 +14,10 @@ #include "rtc_base/ignore_wundef.h" RTC_PUSH_IGNORING_WUNDEF() +// IWYU pragma: begin_exports #include "testing/gtest/include/gtest/gtest-spi.h" #include "testing/gtest/include/gtest/gtest.h" +// IWYU pragma: end_exports RTC_POP_IGNORING_WUNDEF() // GTEST_HAS_DEATH_TEST is set to 1 when death tests are supported, but appears