diff options
Diffstat (limited to 'base/event_trace_provider_win_unittest.cc')
-rw-r--r-- | base/event_trace_provider_win_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/event_trace_provider_win_unittest.cc b/base/event_trace_provider_win_unittest.cc index 1efa74f..2ffae82 100644 --- a/base/event_trace_provider_win_unittest.cc +++ b/base/event_trace_provider_win_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -88,7 +88,7 @@ TEST(EtwTraceProviderTest, Register) { TEST(EtwTraceProviderTest, RegisterWithNoNameFails) { EtwTraceProvider provider; - EXPECT_TRUE(provider.Register() != ERROR_SUCCESS); + EXPECT_NE(ERROR_SUCCESS, provider.Register()); } TEST(EtwTraceProviderTest, Enable) { |