Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- `ARDUINO_CI_SKIP_SPLASH_SCREEN_RSPEC_TESTS` no longer affects any tests because there are no longer splash screens since switching to `arduino-cli`

### Fixed
- Missing include of `IPAddress.h` in `Client.h`
- Mismatches between library names in `library.properties` and the directory names, which can cause cryptic failures
- `LibraryProperties` skips over parse errors instead of crashing: only lines with non-empty keys and non-nil values are recorded

Expand Down
7 changes: 7 additions & 0 deletions SampleProjects/NetworkLib/test/client.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include <ArduinoUnitTests.h>
// test for including <Client.h> without <Arduino.h>
#include <Client.h>

unittest(test) { assertTrue(true); }

unittest_main()
1 change: 1 addition & 0 deletions cpp/arduino/Client.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include <Stream.h>
#include <IPAddress.h>

class Client : public Stream {
public:
Expand Down