Use associated constant for max (#3375)

This commit is contained in:
Squirrel
2021-06-28 10:32:33 +01:00
committed by GitHub
parent ab6c79ecb6
commit dcb08fd533
13 changed files with 44 additions and 43 deletions
@@ -334,7 +334,7 @@ mod tests {
id1,
None,
&header_to_import.header,
u64::max_value(),
u64::MAX,
)
.map(|eff| eff.finalized_headers),
Ok(Vec::new()),
@@ -353,7 +353,7 @@ mod tests {
id2,
None,
&header_to_import.header,
u64::max_value(),
u64::MAX,
)
.map(|eff| eff.finalized_headers),
Ok(Vec::new()),
@@ -372,7 +372,7 @@ mod tests {
id3,
None,
&header_to_import.header,
u64::max_value(),
u64::MAX,
)
.map(|eff| eff.finalized_headers),
Ok(vec![(id1, None)]),