Skip to content

Commit 1a0db85

Browse files
committed
add changes in the tests
1 parent e0eb08f commit 1a0db85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyth-sdk/src/price.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1908,7 +1908,7 @@ mod test {
19081908
pc(-1000, 0, -9),
19091909
500,
19101910
-9,
1911-
pc(-500, 92_23_372_000_000_000_000, -9),
1911+
pc(-500, 9_223_372_000_000_000_000, -9),
19121912
);
19131913
// test with MAX_PD_V_U64 in conf--no loss in precision unlike above
19141914
succeeds(
@@ -2053,9 +2053,9 @@ mod test {
20532053

20542054
pub fn construct_quickcheck_affine_combination_price(price: i64) -> Price {
20552055
Price {
2056-
price: price,
2057-
conf: 0,
2058-
expo: -9,
2056+
price,
2057+
conf: 0,
2058+
expo: -9,
20592059
publish_time: 0,
20602060
}
20612061
}

0 commit comments

Comments
 (0)