1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 #include "base/scoped_clear_errno.h"
8 #include "testing/gtest/include/gtest/gtest.h"
12 TEST(ScopedClearErrno
, TestNoError
) {
15 ScopedClearErrno clear_error
;
21 TEST(ScopedClearErrno
, TestError
) {
24 ScopedClearErrno clear_error
;