forked from hybridgroup/gobot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/hybridgroup/gobot into pebbl…
…e-support * 'dev' of https://github.com/hybridgroup/gobot: (44 commits) Fix errors in examples Update i2c package Update gpio package Update sphero package and examples Update spark package and examples Update opencv package and examples Update neurosky package and examples Update leap package and examples Update joystick package and examples Update hello examples Update digispark package and examples Update beaglebone package and examples Update firmata examples Update ardrone adaptor, driver and examples Mark failing tests as pending WIP api refactor Fix platform tests Interval is now a time.Duration Gobot tests are green again After and Every now require a time.Duration instead of a string ...
- Loading branch information
Showing
105 changed files
with
715 additions
and
959 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package api | ||
|
||
import ( | ||
. "github.com/onsi/ginkgo" | ||
. "github.com/onsi/gomega" | ||
"log" | ||
"testing" | ||
) | ||
|
||
type null struct{} | ||
|
||
func (null) Write(p []byte) (int, error) { | ||
return len(p), nil | ||
} | ||
|
||
func TestApi(t *testing.T) { | ||
log.SetOutput(new(null)) | ||
RegisterFailHandler(Fail) | ||
RunSpecs(t, "Api Suite") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.