From 38e1465902692b70ed11f670c8d335dbded5522f Mon Sep 17 00:00:00 2001 From: vladlosev Date: Mon, 31 May 2010 23:30:01 +0000 Subject: Fixes a wrong comment for OnTestPartResult(). --- include/gtest/gtest.h | 2 +- samples/sample9_unittest.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gtest/gtest.h b/include/gtest/gtest.h index 937f476..867f2a7 100644 --- a/include/gtest/gtest.h +++ b/include/gtest/gtest.h @@ -877,7 +877,7 @@ class TestEventListener { // Fired before the test starts. virtual void OnTestStart(const TestInfo& test_info) = 0; - // Fired after a failed assertion or a SUCCESS(). + // Fired after a failed assertion or a SUCCEED() invocation. virtual void OnTestPartResult(const TestPartResult& test_part_result) = 0; // Fired after the test ends. diff --git a/samples/sample9_unittest.cc b/samples/sample9_unittest.cc index d828ef4..3772630 100644 --- a/samples/sample9_unittest.cc +++ b/samples/sample9_unittest.cc @@ -69,7 +69,7 @@ class TersePrinter : public EmptyTestEventListener { fflush(stdout); } - // Called after a failed assertion or a SUCCESS(). + // Called after a failed assertion or a SUCCEED() invocation. virtual void OnTestPartResult(const TestPartResult& test_part_result) { fprintf(stdout, "%s in %s:%d\n%s\n", -- cgit v0.12