Skip to content

Commit 33fbe18

Browse files
committed
Fix test_simple_setup
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent ea15d55 commit 33fbe18

File tree

1 file changed

+3
-7
lines changed
  • stackslib/src/chainstate/coordinator

1 file changed

+3
-7
lines changed

stackslib/src/chainstate/coordinator/tests.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2175,7 +2175,7 @@ fn test_simple_setup() {
21752175
let pox_id = ic.get_pox_id().unwrap();
21762176
assert_eq!(
21772177
&pox_id.to_string(),
2178-
"110000000000",
2178+
"11",
21792179
"PoX ID should reflect the initial 'known' reward cycle at genesis"
21802180
);
21812181
}
@@ -2203,12 +2203,8 @@ fn test_simple_setup() {
22032203
pox_id_string.push('1');
22042204
}
22052205

2206-
println!("=> {}", pox_id_string);
2207-
assert_eq!(
2208-
pox_id_at_tip.to_string(),
2209-
// right-pad pox_id_string to 11 characters
2210-
format!("1{:0<11}", pox_id_string)
2211-
);
2206+
println!("=> {pox_id_string}");
2207+
assert_eq!(pox_id_at_tip.to_string(), format!("1{pox_id_string}"));
22122208
}
22132209
}
22142210

0 commit comments

Comments
 (0)