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

Delta Between Two Patch Sets: src/pkg/go/printer/testdata/declarations.golden

Issue 5694082: code review 5694082: go/printer: fix test for new import path restrictions (Closed)
Left Patch Set: Created 13 years ago
Right Patch Set: diff -r 767b6229d4dc https://code.google.com/p/go/ Created 13 years 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 | « src/pkg/go/printer/printer_test.go ('k') | src/pkg/go/printer/testdata/declarations.input » ('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 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package imports 5 package imports
6 6
7 import "io" 7 import "io"
8 8
9 import ( 9 import (
10 _ "io" 10 _ "io"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "io" 76 "io"
77 "malloc" // for the malloc count test only 77 "malloc" // for the malloc count test only
78 "math" 78 "math"
79 "strings" 79 "strings"
80 "testing" 80 "testing"
81 ) 81 )
82 82
83 // more import examples 83 // more import examples
84 import ( 84 import (
85 "xxx" 85 "xxx"
86 » "much longer name"» // comment 86 » "much_longer_name"» // comment
87 » "short name"» » // comment 87 » "short_name"» » // comment
88 ) 88 )
89 89
90 import ( 90 import (
91 _ "xxx" 91 _ "xxx"
92 » "much longer name"» // comment 92 » "much_longer_name"» // comment
93 ) 93 )
94 94
95 import ( 95 import (
96 mymath "math" 96 mymath "math"
97 "/foo/bar/long_package_path" // a comment 97 "/foo/bar/long_package_path" // a comment
98 ) 98 )
99 99
100 import ( 100 import (
101 "package_a" // comment 101 "package_a" // comment
102 "package_b" 102 "package_b"
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 w float, 840 w float,
841 x ...int) 841 x ...int)
842 842
843 MultiLineSignature5( 843 MultiLineSignature5(
844 a, b, c int, 844 a, b, c int,
845 u, v, w float, 845 u, v, w float,
846 p, q, 846 p, q,
847 r string, 847 r string,
848 x ...int) 848 x ...int)
849 } 849 }
LEFTRIGHT

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