Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
og-rek
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
og-rek
Commits
f2f59c50
Commit
f2f59c50
authored
Sep 26, 2018
by
Kirill Smelkov
Committed by
Kamil Kisiel
Sep 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuzz: Fix error printing thinko
I put "err" into format string instead of argument. Apologize for that...
parent
192173dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fuzz.go
fuzz.go
+1
-1
No files found.
fuzz.go
View file @
f2f59c50
...
...
@@ -44,7 +44,7 @@ func Fuzz(data []byte) int {
obj2
,
err
:=
dec
.
Decode
()
if
err
!=
nil
{
// must succeed, as buf should contain valid pickle from encoder
panic
(
fmt
.
Sprintf
(
"protocol %d: decode back error:
err
\n
pickle: %q"
,
proto
,
encoded
))
panic
(
fmt
.
Sprintf
(
"protocol %d: decode back error:
%s
\n
pickle: %q"
,
proto
,
err
,
encoded
))
}
if
!
reflect
.
DeepEqual
(
obj
,
obj2
)
{
...
...
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