Remove erroneous dbg!() (#22324)

This commit is contained in:
Brooks Prumo
2022-01-06 00:09:15 -06:00
committed by GitHub
parent 12e160269e
commit 0673dc5375

View File

@ -1631,7 +1631,6 @@ mod tests {
// Test 1: Resize the account to use up all the space; this must succeed
{
let new_len = user_account_data_len + remaining_account_data_len;
dbg!(new_len);
let instruction_data =
bincode::serialize(&MockInstruction::Resize { new_len }).unwrap();
@ -1649,7 +1648,6 @@ mod tests {
// Test 2: Resize the account to *the same size*, so not consuming any additional size; this must succeed
{
let new_len = user_account_data_len + remaining_account_data_len;
dbg!(new_len);
let instruction_data =
bincode::serialize(&MockInstruction::Resize { new_len }).unwrap();
@ -1667,7 +1665,6 @@ mod tests {
// Test 3: Resize the account to exceed the budget; this must fail
{
let new_len = user_account_data_len + remaining_account_data_len + 1;
dbg!(new_len);
let instruction_data =
bincode::serialize(&MockInstruction::Resize { new_len }).unwrap();