Skip to content

Commit

Permalink
Fix include folders in example and test files of contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmoene committed Jan 10, 2025
1 parent 42391b0 commit 53f6863
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions contrib/lest_expect_abort/example/00_basic.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#if __cplusplus >= 201103 || _MSC_VER >= 1800
# include "lest/lest_expect_abort.hpp"
# include "lest_expect_abort/lest_expect_abort.hpp"
#else
# include "lest/lest_expect_abort_cpp03.hpp"
# include "lest_expect_abort/lest_expect_abort_cpp03.hpp"
#endif

#include <cassert>
Expand Down
4 changes: 2 additions & 2 deletions contrib/lest_expect_abort/example/01_specification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#if __cplusplus >= 201103 || _MSC_VER >= 1800
# include "lest/lest_expect_abort.hpp"
# include "lest_expect_abort/lest_expect_abort.hpp"
#else
# include "lest/lest_expect_abort_cpp03.hpp"
# include "lest_expect_abort/lest_expect_abort_cpp03.hpp"
#endif

#include <cassert>
Expand Down
4 changes: 2 additions & 2 deletions contrib/lest_expect_abort/test/lest_expect_abort.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#if __cplusplus >= 201103 || _MSC_VER >= 1800
# include "lest/lest_expect_abort.hpp"
# include "lest_expect_abort/lest_expect_abort.hpp"
#else
# include "lest/lest_expect_abort_cpp03.hpp"
# include "lest_expect_abort/lest_expect_abort_cpp03.hpp"
#endif

#include <cassert>
Expand Down
4 changes: 2 additions & 2 deletions contrib/lest_expect_assert/example/00_basic.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#if __cplusplus >= 201103 || _MSC_VER >= 1800
# include "lest/lest_expect_assert.hpp"
# include "lest_expect_assert/lest_expect_assert.hpp"
#else
# include "lest/lest_expect_assert_cpp03.hpp"
# include "lest_expect_assert/lest_expect_assert_cpp03.hpp"
#endif

#define CASE( name ) lest_CASE( specification, name )
Expand Down
6 changes: 3 additions & 3 deletions contrib/lest_expect_assert/example/01_specification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// Your .cpp code that uses assert must include "lest_assert.hpp", here simulated by:

#include "lest/lest_assert.hpp"
#include "lest_expect_assert/lest_assert.hpp"

void user()
{
Expand All @@ -22,9 +22,9 @@ void user_noexcept() noexcept
// End of user code.

#if __cplusplus >= 201103 || _MSC_VER >= 1800
# include "lest/lest_expect_assert.hpp"
# include "lest_expect_assert/lest_expect_assert.hpp"
#else
# include "lest/lest_expect_assert_cpp03.hpp"
# include "lest_expect_assert/lest_expect_assert_cpp03.hpp"
#endif

#define CASE( name ) lest_CASE( specification, name )
Expand Down
6 changes: 3 additions & 3 deletions contrib/lest_expect_assert/test/lest_expect_assert.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// Your .cpp code that uses assert must include "lest_assert.hpp", here simulated by:

#include "lest/lest_assert.hpp"
#include "lest_expect_assert/lest_assert.hpp"

void user()
{
Expand All @@ -22,9 +22,9 @@ void user_noexcept() noexcept
// End of user code.

#if __cplusplus >= 201103 || _MSC_VER >= 1800
# include "lest/lest_expect_assert.hpp"
# include "lest_expect_assert/lest_expect_assert.hpp"
#else
# include "lest/lest_expect_assert_cpp03.hpp"
# include "lest_expect_assert/lest_expect_assert_cpp03.hpp"
#endif

#define CASE( name ) lest_CASE( specification, name )
Expand Down

0 comments on commit 53f6863

Please sign in to comment.