Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test.go
src/cmd/go/test.go
+1
-1
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