mirror of
https://github.com/ukui/apt.git
synced 2026-03-09 09:35:45 -07:00
This makes it easier to see which headers includes what.
The changes were done by running
git grep -l '#\s*include' \
| grep -E '.(cc|h)$' \
| xargs sed -i -E 's/(^\s*)#(\s*)include/\1#\2 include/'
To modify all include lines by adding a space, and then running
./git-clang-format.sh.
17 lines
580 B
C++
17 lines
580 B
C++
#include <config.h>
|
|
#include <apt-pkg/pkgcache.h>
|
|
#include <gtest/gtest.h>
|
|
#include <string>
|
|
|
|
using std::string;
|
|
|
|
// Tests for Bug#807523
|
|
TEST(PriorityTest, PriorityPrinting)
|
|
{
|
|
EXPECT_EQ("required", string(pkgCache::Priority(pkgCache::State::Required)));
|
|
EXPECT_EQ("important", string(pkgCache::Priority(pkgCache::State::Important)));
|
|
EXPECT_EQ("standard", string(pkgCache::Priority(pkgCache::State::Standard)));
|
|
EXPECT_EQ("optional", string(pkgCache::Priority(pkgCache::State::Optional)));
|
|
EXPECT_EQ("extra", string(pkgCache::Priority(pkgCache::State::Extra)));
|
|
}
|