From 933654fbae37b3726cfa449d187759fe06f8fcc7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 15 Oct 2020 01:10:15 +0300 Subject: test/ -> test/unit_tests/ --- test/error.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 test/error.cpp (limited to 'test/error.cpp') diff --git a/test/error.cpp b/test/error.cpp deleted file mode 100644 index f70d95d..0000000 --- a/test/error.cpp +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) 2020 Egor Tensin -// This file is part of the "winapi-common" project. -// For details, see https://github.com/egor-tensin/winapi-common. -// Distributed under the MIT License. - -#include - -#include - -#include - -#include - -BOOST_AUTO_TEST_SUITE(error_tests) - -BOOST_AUTO_TEST_CASE(file_not_found) { - const std::string actual{winapi::error::windows(ERROR_FILE_NOT_FOUND, "CreateFileW").what()}; - BOOST_TEST(actual == - "Function CreateFileW failed with error code 2: The system cannot find the file " - "specified."); -} - -BOOST_AUTO_TEST_SUITE_END() -- cgit v1.2.3