Skip to content

Commit

Permalink
Rename TokenPoolTest to TestTokenPool
Browse files Browse the repository at this point in the history
Follow the convention established by other test support classes.

ninja-build#1140 (comment)
  • Loading branch information
stefanb2 authored and intelfx committed Feb 16, 2023
1 parent 4466a1e commit bf281f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/subprocess_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const char* kSimpleCommand = "cmd /c dir \\";
const char* kSimpleCommand = "ls /";
#endif

struct TokenPoolTest : public TokenPool {
struct TestTokenPool : public TokenPool {
bool Acquire() { return false; }
void Reserve() {}
void Release() {}
Expand All @@ -58,7 +58,7 @@ struct TokenPoolTest : public TokenPool {

struct SubprocessTest : public testing::Test {
SubprocessSet subprocs_;
TokenPoolTest tokens_;
TestTokenPool tokens_;
};

} // anonymous namespace
Expand Down

0 comments on commit bf281f0

Please sign in to comment.