Skip to content

Commit

Permalink
Revert "Fix tests"
Browse files Browse the repository at this point in the history
This reverts commit d8d687c.
  • Loading branch information
re-gius committed Nov 29, 2024
1 parent d8d687c commit 2c4c2a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions substrate/primitives/runtime/src/type_with_default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ mod tests {
}
}
type U64WithDefault = TypeWithDefault<u64, Getu64>;
impl WrapAtLeast64Bit for U64WithDefault {}
impl WrapAtLeast32Bit for U64WithDefault {}

struct Getu128;
impl Get<u128> for Getu128 {
Expand All @@ -574,7 +574,7 @@ mod tests {
}
}
type U128WithDefault = TypeWithDefault<u128, Getu128>;
impl WrapAtLeast128Bit for U128WithDefault {}
impl WrapAtLeast32Bit for U128WithDefault {}

assert_eq!(U8WithDefault::type_info(), <u8 as TypeInfo>::type_info());
assert_eq!(U16WithDefault::type_info(), <u16 as TypeInfo>::type_info());
Expand Down

0 comments on commit 2c4c2a3

Please sign in to comment.