| // Copyright 2019 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include <lib/sys/cpp/file_descriptor.h> | |
| #include <gtest/gtest.h> | |
| namespace { | |
| TEST(FileDescriptorTest, CloneBogus) { | |
| auto file_descriptor = sys::CloneFileDescriptor(53); | |
| EXPECT_EQ(nullptr, file_descriptor); | |
| } | |
| } // namespace |