update the includes in the tests to get rid of the deprecated warnings
This commit is contained in:
parent
62ac1d98a4
commit
fee52f79b8
@ -25,7 +25,7 @@
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "format.h"
|
||||
#include <cppformat/format.h>
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#if GTEST_HAS_DEATH_TEST
|
||||
|
@ -45,7 +45,7 @@
|
||||
// Test that the library compiles if None is defined to 0 as done by xlib.h.
|
||||
#define None 0
|
||||
|
||||
#include "format.h"
|
||||
#include <cppformat/format.h>
|
||||
#include "util.h"
|
||||
#include "mock-allocator.h"
|
||||
#include "gtest-extra.h"
|
||||
|
@ -31,14 +31,14 @@
|
||||
#include <string>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "format.h"
|
||||
#include <cppformat/format.h>
|
||||
|
||||
#ifndef FMT_USE_FILE_DESCRIPTORS
|
||||
# define FMT_USE_FILE_DESCRIPTORS 0
|
||||
#endif
|
||||
|
||||
#if FMT_USE_FILE_DESCRIPTORS
|
||||
# include "posix.h"
|
||||
# include <cppformat/posix.h>
|
||||
#endif
|
||||
|
||||
#define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \
|
||||
|
@ -25,4 +25,4 @@
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "format.h"
|
||||
#include <cppformat/format.h>
|
||||
|
@ -25,4 +25,4 @@
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "format.h"
|
||||
#include <cppformat/format.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "gtest-extra.h"
|
||||
#include "posix.h"
|
||||
#include <cppformat/posix.h>
|
||||
#include "util.h"
|
||||
|
||||
#ifdef fileno
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <climits>
|
||||
#include <cstring>
|
||||
|
||||
#include "format.h"
|
||||
#include <cppformat/format.h>
|
||||
#include "gtest-extra.h"
|
||||
#include "util.h"
|
||||
|
||||
|
@ -47,7 +47,7 @@
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include "format.h"
|
||||
#include <cppformat/format.h>
|
||||
|
||||
#undef max
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
#include "posix.h"
|
||||
#include <cppformat/posix.h>
|
||||
|
||||
enum {BUFFER_SIZE = 256};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user