summaryrefslogtreecommitdiffstats
path: root/base/debug
diff options
context:
space:
mode:
authornednguyen@google.com <nednguyen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-25 03:35:39 +0000
committernednguyen@google.com <nednguyen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-25 03:35:39 +0000
commit1834d99912eca80dcb62fc12d2c1b9bb0e75b9bc (patch)
tree4ec05a59c7eecd05bd84a9713362d5a0bfd607fb /base/debug
parent2517b30f3e14c86097a2ef33ebbab02ecae00bf2 (diff)
downloadchromium_src-1834d99912eca80dcb62fc12d2c1b9bb0e75b9bc.zip
chromium_src-1834d99912eca80dcb62fc12d2c1b9bb0e75b9bc.tar.gz
chromium_src-1834d99912eca80dcb62fc12d2c1b9bb0e75b9bc.tar.bz2
Update trace_event_unittest to use ASSERT_LE rather than ASSERT_LT.
BUG=396403 Review URL: https://codereview.chromium.org/412033003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285472 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug')
-rw-r--r--base/debug/trace_event_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/debug/trace_event_unittest.cc b/base/debug/trace_event_unittest.cc
index 6092141..ce07604 100644
--- a/base/debug/trace_event_unittest.cc
+++ b/base/debug/trace_event_unittest.cc
@@ -2464,8 +2464,8 @@ TEST_F(TraceEventTestFixture, MAYBE_TraceBufferVectorReportFull) {
EXPECT_TRUE(trace_parsed_.GetDictionary(trace_parsed_.GetSize() - 1,
&last_trace_event));
EXPECT_TRUE(last_trace_event->GetDouble("ts", &last_trace_event_timestamp));
- EXPECT_LT(last_trace_event_timestamp, buffer_limit_reached_timestamp);
- EXPECT_LT(buffer_limit_reached_timestamp,
+ EXPECT_LE(last_trace_event_timestamp, buffer_limit_reached_timestamp);
+ EXPECT_LE(buffer_limit_reached_timestamp,
trace_log->OffsetNow().ToInternalValue());
}