Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
2233942e
Commit
2233942e
authored
Feb 11, 2012
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gofmt: fix error message in test
R=golang-dev, dsymonds CC=golang-dev
https://golang.org/cl/5652066
parent
77aaa355
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
long_test.go
src/cmd/gofmt/long_test.go
+1
-1
No files found.
src/cmd/gofmt/long_test.go
View file @
2233942e
...
@@ -83,7 +83,7 @@ func testFile(t *testing.T, b1, b2 *bytes.Buffer, filename string) {
...
@@ -83,7 +83,7 @@ func testFile(t *testing.T, b1, b2 *bytes.Buffer, filename string) {
// the first and 2nd result should be identical
// the first and 2nd result should be identical
if
bytes
.
Compare
(
b1
.
Bytes
(),
b2
.
Bytes
())
!=
0
{
if
bytes
.
Compare
(
b1
.
Bytes
(),
b2
.
Bytes
())
!=
0
{
t
.
Errorf
(
"
%s:
not idempotent"
,
filename
)
t
.
Errorf
(
"
gofmt %s
not idempotent"
,
filename
)
}
}
}
}
...
...
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