Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Unified Diff: src/cmd/go/test.go

Issue 7071050: code review 7071050: testing: in example, empty output not distinguished fro... (Closed)
Patch Set: diff -r e8cfa948baf2 https://code.google.com/p/go/ Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pkg/go/doc/example.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/go/test.go
===================================================================
--- a/src/cmd/go/test.go
+++ b/src/cmd/go/test.go
@@ -792,7 +792,7 @@
}
}
for _, e := range doc.Examples(f) {
- if e.Output == "" {
+ if e.Output == "" && !e.EmptyOutput {
// Don't run examples with no output.
continue
}
« no previous file with comments | « no previous file | src/pkg/go/doc/example.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b