Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
7ec69c17
Commit
7ec69c17
authored
Dec 11, 2010
by
Mikio Hara
Committed by
Robert Griesemer
Dec 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gofmt -s -w src
R=golang-dev, gri CC=golang-dev
https://golang.org/cl/3592041
parent
055650da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
src/pkg/debug/pe/file_test.go
src/pkg/debug/pe/file_test.go
+2
-2
src/pkg/net/dnsname_test.go
src/pkg/net/dnsname_test.go
+9
-9
src/pkg/os/inotify/inotify_linux.go
src/pkg/os/inotify/inotify_linux.go
+1
-1
No files found.
src/pkg/debug/pe/file_test.go
View file @
7ec69c17
...
...
@@ -16,7 +16,7 @@ type fileTest struct {
}
var
fileTests
=
[]
fileTest
{
fileTest
{
{
"testdata/gcc-386-mingw-obj"
,
FileHeader
{
0x014c
,
0x000c
,
0x0
,
0x64a
,
0x1e
,
0x0
,
0x104
},
[]
*
SectionHeader
{
...
...
@@ -34,7 +34,7 @@ var fileTests = []fileTest{
&
SectionHeader
{
".debug_aranges"
,
0
,
0
,
32
,
1408
,
1590
,
0
,
2
,
0
,
1108344832
},
},
},
fileTest
{
{
"testdata/gcc-386-mingw-exec"
,
FileHeader
{
0x014c
,
0x000f
,
0x4c6a1b60
,
0x3c00
,
0x282
,
0xe0
,
0x107
},
[]
*
SectionHeader
{
...
...
src/pkg/net/dnsname_test.go
View file @
7ec69c17
...
...
@@ -16,15 +16,15 @@ type testCase struct {
var
tests
=
[]
testCase
{
// RFC2181, section 11.
testCase
{
"_xmpp-server._tcp.google.com"
,
true
},
testCase
{
"_xmpp-server._tcp.google.com"
,
true
},
testCase
{
"foo.com"
,
true
},
testCase
{
"1foo.com"
,
true
},
testCase
{
"26.0.0.73.com"
,
true
},
testCase
{
"fo-o.com"
,
true
},
testCase
{
"fo1o.com"
,
true
},
testCase
{
"foo1.com"
,
true
},
testCase
{
"a.b..com"
,
false
},
{
"_xmpp-server._tcp.google.com"
,
true
},
{
"_xmpp-server._tcp.google.com"
,
true
},
{
"foo.com"
,
true
},
{
"1foo.com"
,
true
},
{
"26.0.0.73.com"
,
true
},
{
"fo-o.com"
,
true
},
{
"fo1o.com"
,
true
},
{
"foo1.com"
,
true
},
{
"a.b..com"
,
false
},
}
func
getTestCases
(
ch
chan
<-
*
testCase
)
{
...
...
src/pkg/os/inotify/inotify_linux.go
View file @
7ec69c17
...
...
@@ -88,7 +88,7 @@ func (w *Watcher) Close() os.Error {
// Send "quit" message to the reader goroutine
w
.
done
<-
true
for
path
,
_
:=
range
w
.
watches
{
for
path
:=
range
w
.
watches
{
w
.
RemoveWatch
(
path
)
}
...
...
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