blob: 3f7fa36ca5b97fc6c21069a86dfbf586e2cce465 [file] [log] [blame]
Avi Drissmane4622aa2022-09-08 20:36:061// Copyright 2022 The Chromium Authors
Roland Bockd662a2d2022-07-12 20:55:272// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "base/check_is_test.h"
6
7#include "testing/gtest/include/gtest/gtest.h"
8
Roland Bock3c0853f2022-10-23 01:23:019// Note: `base::AllowCheckIsTestForTesting` is being called in
Roland Bockd662a2d2022-07-12 20:55:2710// `base/test/launcher/unit_test_launcher.cc` before this test is run.
11//
12// Thus, `CHECK_IS_TEST()` will succeed.
13TEST(CheckIsTest, Usage) {
14 CHECK_IS_TEST();
15}