Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
0e1a0716
Commit
0e1a0716
authored
Sep 19, 2014
by
Sameer Ajmani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/go: fix typo
LGTM=rsc R=rsc CC=golang-codereviews
https://golang.org/cl/138700043
parent
2c15d451
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/cmd/go/test.go
src/cmd/go/test.go
+2
-2
No files found.
src/cmd/go/test.go
View file @
0e1a0716
...
...
@@ -1059,7 +1059,7 @@ func (b *builder) notest(a *action) error {
return
nil
}
// isTestMain tells whether fn is a TestMain(m *testing.M
ain
) function.
// isTestMain tells whether fn is a TestMain(m *testing.M) function.
func
isTestMain
(
fn
*
ast
.
FuncDecl
)
bool
{
if
fn
.
Name
.
String
()
!=
"TestMain"
||
fn
.
Type
.
Results
!=
nil
&&
len
(
fn
.
Type
.
Results
.
List
)
>
0
||
...
...
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