Commit 9ea42fb2 authored by Victor Zverovich's avatar Victor Zverovich

Rename posix-test to os-test

parent da256982
#include "os.h"
#warning "fmt/posix.h is deprecated; use fmt/os.h instead"
\ No newline at end of file
......@@ -125,7 +125,7 @@ if (NOT MSVC_BUILD_STATIC)
target_compile_definitions(posix-mock-test PRIVATE FMT_LOCALE)
endif ()
add_test(NAME posix-mock-test COMMAND posix-mock-test)
add_fmt_test(posix-test)
add_fmt_test(os-test)
endif ()
add_fmt_executable(header-only-test
......
......@@ -10,7 +10,7 @@
#include <string>
#include "gmock.h"
#include "fmt/posix.h"
#include "fmt/os.h"
#define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
......
// Formatting library for C++ - tests of the C++ interface to POSIX functions
// Formatting library for C++ - tests of the OS-specific functionality
//
// Copyright (c) 2012 - present, Victor Zverovich
// All rights reserved.
......@@ -10,7 +10,6 @@
#include <memory>
#include "fmt/os.h"
#include "fmt/posix.h"
#include "gtest-extra.h"
#include "util.h"
......
......@@ -9,7 +9,7 @@
#include <cstdio>
#include <string>
#include "fmt/posix.h"
#include "fmt/os.h"
enum { BUFFER_SIZE = 256 };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment