Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
75f27d85
Commit
75f27d85
authored
Aug 30, 2018
by
Gav
Browse files
Fix tests
parent
4cded439
Changes
1
Hide whitespace changes
Inline
Side-by-side
runtime/src/lib.rs
View file @
75f27d85
...
...
@@ -403,7 +403,7 @@ mod tests {
// 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
let
v
=
Encode
::
encode
(
&
tx
);
assert_eq!
(
&
v
[
..
],
&
hex!
[
"6f000000ff0101010101010101010101010101010101010101010101010101010101010101e70300000
3
00df0f02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
][
..
]);
assert_eq!
(
&
v
[
..
],
&
hex!
[
"6f000000ff0101010101010101010101010101010101010101010101010101010101010101e70300000
4
00df0f02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
][
..
]);
println!
(
"{}"
,
HexDisplay
::
from
(
&
v
));
assert_eq!
(
UncheckedExtrinsic
::
decode
(
&
mut
&
v
[
..
])
.unwrap
(),
tx
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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