Format test case properly

This commit is contained in:
Bolshakov 2023-01-08 20:17:00 +03:00 committed by Kim Gräsman
parent afebd59684
commit a5bcb853b9
3 changed files with 3 additions and 5 deletions

View File

@ -12,4 +12,3 @@
namespace ns2 {
using ns::symbol;
}

View File

@ -8,6 +8,5 @@
//===----------------------------------------------------------------------===//
namespace ns {
void symbol();
void symbol();
}

View File

@ -13,7 +13,7 @@
// that we are required to include both the file with the original symbol and
// the file with the using decl.
#include "using_aliased_symbol-alias.h"
#include "tests/cxx/using_aliased_symbol-alias.h"
void use_symbol() {
// IWYU: ns::symbol is defined in ...*using_aliased_symbol-declare.h", which isn't directly #included.
@ -29,7 +29,7 @@ tests/cxx/using_aliased_symbol.cc should add these lines:
tests/cxx/using_aliased_symbol.cc should remove these lines:
The full include-list for tests/cxx/using_aliased_symbol.cc:
#include "tests/cxx/using_aliased_symbol-alias.h" // for symbol
#include "tests/cxx/using_aliased_symbol-declare.h" // for symbol
#include "using_aliased_symbol-alias.h" // for symbol
***** IWYU_SUMMARY */