Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
30057cef
Commit
30057cef
authored
Aug 29, 2018
by
Mattia Bertorello
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the name in the return parameters
parent
737a9fcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
commands/commands_test.go
commands/commands_test.go
+3
-1
No files found.
commands/commands_test.go
View file @
30057cef
...
...
@@ -67,7 +67,9 @@ func (grabber *stdOutRedirect) Close() {
// executeWithArgs executes the Cobra Command with the given arguments
// and intercepts any errors (even `os.Exit()` ones), returning the exit code
func
executeWithArgs
(
t
*
testing
.
T
,
args
...
string
)
(
exitCode
int
,
output
[]
byte
)
{
func
executeWithArgs
(
t
*
testing
.
T
,
args
...
string
)
(
int
,
[]
byte
)
{
var
output
[]
byte
var
exitCode
int
fmt
.
Printf
(
"RUNNING: %s
\n
"
,
args
)
redirect
:=
&
stdOutRedirect
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment