浏览代码

lolunit: rename test runner’s run() method to Run() for consistency.

legacy
Sam Hocevar sam 14 年前
父节点
当前提交
75d8811c74
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      src/lol/unit.h
  2. +1
    -1
      test/lol-test.cpp

+ 1
- 1
src/lol/unit.h 查看文件

@@ -174,7 +174,7 @@ public:
class TextTestRunner class TextTestRunner
{ {
public: public:
bool run()
bool Run()
{ {
bool ret = true; bool ret = true;
std::stringstream errors(""); std::stringstream errors("");


+ 1
- 1
test/lol-test.cpp 查看文件

@@ -20,7 +20,7 @@
int main(void) int main(void)
{ {
lol::TextTestRunner runner; lol::TextTestRunner runner;
bool success = runner.run();
bool success = runner.Run();
return success ? EXIT_SUCCESS : EXIT_FAILURE; return success ? EXIT_SUCCESS : EXIT_FAILURE;
} }



正在加载...
取消
保存