From 50ea4143f9ae9e11a7cdc5144e9856f0693123f0 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Tue, 24 May 2016 21:05:27 -0700 Subject: [PATCH] [audio] Run go fmt because we have to Signed-off-by: deadprogram --- examples/audio.go | 2 +- gobottest/gobottest.go | 4 ++-- platforms/audio/audio_driver_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/audio.go b/examples/audio.go index 3a5e7417..7a343dd0 100644 --- a/examples/audio.go +++ b/examples/audio.go @@ -14,7 +14,7 @@ func main() { laser := audio.NewAudioDriver(e, "laser", "./examples/laser.mp3") work := func() { - gobot.Every(2 * time.Second, func() { + gobot.Every(2*time.Second, func() { laser.Play() }) } diff --git a/gobottest/gobottest.go b/gobottest/gobottest.go index 0a3a2e4a..68808dd2 100644 --- a/gobottest/gobottest.go +++ b/gobottest/gobottest.go @@ -2,12 +2,12 @@ package gobottest import ( "fmt" + "os" + "os/exec" "reflect" "runtime" "strings" "testing" - "os" - "os/exec" ) var errFunc = func(t *testing.T, message string) { diff --git a/platforms/audio/audio_driver_test.go b/platforms/audio/audio_driver_test.go index 7097771b..84b9abbc 100644 --- a/platforms/audio/audio_driver_test.go +++ b/platforms/audio/audio_driver_test.go @@ -3,8 +3,8 @@ package audio import ( - "testing" "os/exec" + "testing" "github.com/hybridgroup/gobot/gobottest" )