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

Delta Between Two Patch Sets: oracle/testdata/src/main/peers-json.go

Issue 13270045: code review 13270045: go.tools/oracle: add option to output results in JSON s... (Closed)
Left Patch Set: diff -r 7c53df5c9267 https://code.google.com/p/go.tools Created 10 years, 7 months ago
Right Patch Set: diff -r 07183b5c385c https://code.google.com/p/go.tools Created 10 years, 6 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:
Right: Side by side diff | Download
« no previous file with change/comment | « oracle/testdata/src/main/peers.golden ('k') | oracle/testdata/src/main/peers-json.golden » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 package peers
2
3 // Tests of channel 'peers' query, -format=json.
4 // See go.tools/oracle/oracle_test.go for explanation.
5 // See peers-json.golden for expected query results.
6
7 func main() {
8 chA := make(chan *int)
9 <-chA
10 select {
11 case <-chA: // @peers peer-recv-chA "<-"
12 }
13 }
LEFTRIGHT

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