Skip to content

Commit 13ea69f

Browse files
authored
Merge pull request #151 from jgfoster/docs
Docs: fix compile error in sample code
2 parents 7483217 + 79b99be commit 13ea69f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# ArduinoCI Ruby gem (`arduino_ci`) [![Gem Version](https://badge.fury.io/rb/arduino_ci.svg)](https://rubygems.org/gems/arduino_ci) [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/arduino_ci/0.3.0)
2+
# ArduinoCI Ruby gem (`arduino_ci`) [![Gem Version](https://badge.fury.io/rb/arduino_ci.svg)](https://rubygems.org/gems/arduino_ci) [![Documentation](https://img.shields.io/badge/docs-rdoc.info-blue.svg)](https://www.rubydoc.info/gems/arduino_ci/0.3.0)
33

44
You want to run tests on your Arduino library (bonus: without hardware present), but the IDE doesn't support that. Arduino CI provides that ability.
55

@@ -11,8 +11,8 @@ You want your Arduino library to be automatically built and tested every time so
1111

1212
Platform | CI Status
1313
---------|:---------
14-
OSX | [![OSX Build Status](http://badges.herokuapp.com/travis/ianfixes/arduino_ci?env=BADGE=osx&label=build&branch=master)](https://travis-ci.org/ianfixes/arduino_ci)
15-
Linux | [![Linux Build Status](http://badges.herokuapp.com/travis/ianfixes/arduino_ci?env=BADGE=linux&label=build&branch=master)](https://travis-ci.org/ianfixes/arduino_ci)
14+
OSX | [![OSX Build Status](https://badges.herokuapp.com/travis/ianfixes/arduino_ci?env=BADGE=osx&label=build&branch=master)](https://travis-ci.org/ianfixes/arduino_ci)
15+
Linux | [![Linux Build Status](https://badges.herokuapp.com/travis/ianfixes/arduino_ci?env=BADGE=linux&label=build&branch=master)](https://travis-ci.org/ianfixes/arduino_ci)
1616
Windows | [![Windows Build status](https://ci.appveyor.com/api/projects/status/8f6e39dea319m83q/branch/master?svg=true)](https://ci.appveyor.com/project/ianfixes/arduino-ci)
1717

1818

REFERENCE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ unittest(pin_history)
311311
// we expect 6 values in that queue (5 that we set plus one
312312
// initial value), which we'll hard-code here for convenience.
313313
// (we'll actually assert those 6 values in the next block)
314-
assertEqual(6, state->digitalPin[1].size());
314+
assertEqual(6, state->digitalPin[1].queueSize));
315315
bool expected[6] = {LOW, HIGH, LOW, LOW, HIGH, HIGH};
316316
bool actual[6];
317317

0 commit comments

Comments
 (0)