blob: 971e4c6d632c79a65d3cc013faf35464e97f8364 [file] [log] [blame]
// 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