Skip to content

Commit 9fb8a9b

Browse files
committed
chore: use fakeit as dependency
1 parent 6c242f3 commit 9fb8a9b

File tree

5 files changed

+12
-10067
lines changed

5 files changed

+12
-10067
lines changed

platformio.ini

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
[env:native]
22
platform = native
33
build_flags = -std=gnu++11
4-
test_build_src = yes
4+
-I .pio/libdeps/native/FakeIt/single_header/standalone
5+
test_build_src = yes
6+
lib_deps = https://github.com/eranpeer/FakeIt.git
7+
8+
# [env:debug]
9+
# platform = native
10+
# build_flags = -std=gnu++17
11+
# test_build_src = yes
12+
# build_type = debug
13+
# debug_test = *

src/ArduinoFake.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <cstring>
99
#include <cstdint>
1010
#include <stdexcept>
11-
#include "fakeit/fakeit.hpp"
11+
#include "fakeit.hpp"
1212

1313
#include "arduino/Arduino.h"
1414

src/FunctionFake.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#include "fakeit/fakeit.hpp"
3+
#include "fakeit.hpp"
44

55
struct FunctionFake
66
{

src/fakeit/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)