diff options
author | Maxim Pimenov <m@maps.me> | 2015-09-09 16:09:47 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:04:12 +0300 |
commit | ca800e1319c395d75e884b98487a2023acf97871 (patch) | |
tree | 829e7b40f85506ac01962bec8abecd808445ef09 /testing | |
parent | ade195af4d40c5cf42e34e159632c8bda3fc7dff (diff) |
[omim] [testing] Changed the output of failed tests to the conventional filename:linenumber format.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/testing.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/testing.hpp b/testing/testing.hpp index 37d33427d0..634e41853e 100644 --- a/testing/testing.hpp +++ b/testing/testing.hpp @@ -22,7 +22,7 @@ namespace my inline void OnTestFailed(SrcPoint const & srcPoint, string const & msg) { LOG(LINFO, ("FAILED")); - LOG(LINFO, (srcPoint.FileName(), ":", srcPoint.Line(), msg)); + LOG(LINFO, (DebugPrint(srcPoint.FileName()) + ":" + DebugPrint(srcPoint.Line()), msg)); MYTHROW(TestFailureException, (srcPoint.FileName(), srcPoint.Line(), msg)); } } |