Removed A2STR strings other than NIL

This commit is contained in:
Tatsuhiro Tsujikawa 2012-09-24 23:01:08 +09:00
parent 4423ece43d
commit d95a179876
7 changed files with 15 additions and 59 deletions

View file

@ -38,7 +38,7 @@ void ExceptionTest::testStackTrace()
("Exception: [ExceptionTest.cc:34] errorCode=2 exception thrown\n"
" -> [ExceptionTest.cc:32] errorCode=2 cause2\n"
" -> [ExceptionTest.cc:31] errorCode=2 cause1\n"),
util::replace(e.stackTrace(), A2_TEST_DIR+A2STR::SLASH_C, ""));
util::replace(e.stackTrace(), std::string(A2_TEST_DIR)+"/", ""));
}
} // namespace aria2