Skip to content

Commit

Permalink
refactor(tests): increase test_fn size
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 20, 2024
1 parent 839a509 commit 9c693af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ jobs:
- type: linux
arch: x86

- type: windows
config: Release

- type: windows-clang
config: Release

runs-on: ${{ contains(matrix.type, 'windows') && 'windows-latest' || 'ubuntu-latest' }}
container: ${{ matrix.container }}

Expand Down
6 changes: 5 additions & 1 deletion tests/hook.test.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
#include <lime/hooks/hook.hpp>
#include <boost/ut.hpp>

#include <lime/hooks/hook.hpp>
#include <iostream>

using namespace boost::ut;
using namespace boost::ut::literals;

int test_fn(int param)
{
std::cout << std::format("test_fn({}): called", param) << std::endl;

if (param == 1337)
{
return 0;
Expand Down

0 comments on commit 9c693af

Please sign in to comment.