Skip to content

Commit 8a85d35

Browse files
committed
Fixed some small errors due to rebase of e491814
Signed-off-by: Cristian Maglie <[email protected]>
1 parent e491814 commit 8a85d35

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

Diff for: src/arduino.cc/arduino-builder/main.go

+5
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ func init() {
160160
func main() {
161161
flag.Parse()
162162

163+
for _, t := range customBuildPropertiesFlag {
164+
fmt.Println(t)
165+
}
166+
return
167+
163168
if *versionFlag {
164169
fmt.Println("Arduino Builder " + VERSION)
165170
fmt.Println("Copyright (C) 2015 Arduino LLC and contributors")

Diff for: src/arduino.cc/builder/test/ctags_to_prototypes_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,16 @@
3030
package test
3131

3232
import (
33+
"io/ioutil"
34+
"os"
35+
"path/filepath"
36+
"testing"
37+
3338
"arduino.cc/builder"
3439
"arduino.cc/builder/constants"
3540
"arduino.cc/builder/ctags"
3641
"arduino.cc/builder/types"
3742
"github.com/stretchr/testify/require"
38-
"io/ioutil"
39-
"os"
40-
"path/filepath"
41-
"testing"
4243
)
4344

4445
func TestCTagsToPrototypesShouldListPrototypes(t *testing.T) {
@@ -474,7 +475,6 @@ func TestCTagsRunnerSketchWithClassFunction(t *testing.T) {
474475
&builder.CTagsTargetFileSaver{Source: &ctx.Source, TargetFileName: constants.FILE_CTAGS_TARGET},
475476
&ctags.CTagsRunner{},
476477
&ctags.CTagsParser{},
477-
&CollectCtagsFromPreprocSource{},
478478
&ctags.CTagsToPrototypes{},
479479
}
480480

0 commit comments

Comments
 (0)