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

Side by Side Diff: 2014/readability/test-pattern_en.go

Issue 176660043: code review 176660043: x/talks/2014/readability: talk for GoCon 2014 autumn in...
Patch Set: diff -r 05bdda42259e https://code.google.com/p/go.talks/ Created 9 years, 3 months ago
Left:
Right:
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 unified diff | Download patch
« no previous file with comments | « 2014/readability/talks.png ('k') | 2014/readability/time_duration_bad.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 package sample // OMIT
2
3 func TestSample(t *testing.T) { // OMIT
4 // Typical test code
5 if got, want := testTargetFunc(input), expectedValue; !checkTestResult(g ot, want) {
6 t.Errorf("testTargetFunc(%v) = %v; want %v", input, got, want)
7 }
8 } // OMIT
OLDNEW
« no previous file with comments | « 2014/readability/talks.png ('k') | 2014/readability/time_duration_bad.go » ('j') | no next file with comments »

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