mirror of
https://github.com/meekrosoft/fff
synced 2026-01-25 09:21:38 +01:00
Add tests to verify std::function works with capturing lambda
Introduce a test that uses a capturing lambda as a custom_fake. Signed-off-by: Yuval Peress <peress@google.com>
This commit is contained in:
11
test/include/fff_wrapper.hpp
Normal file
11
test/include/fff_wrapper.hpp
Normal file
@@ -0,0 +1,11 @@
|
||||
/* Copyright 2022 Google LLC
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "custom_function.hpp"
|
||||
|
||||
#include <fff.h>
|
||||
Reference in New Issue
Block a user