File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ module minimarket::minimarket_tests {
158158 }
159159
160160 #[test(admin = @0 xB)]
161- #[expected_failure(abort_code = 1 , location = @0 x225b149b3bfc3caabcbb7edf8c855636c0c00131226127e35545556aaf325278 )] // E_ALREADY_INITIALIZED
161+ #[expected_failure(abort_code = 1 , location = minimarket::minimarket )] // E_ALREADY_INITIALIZED
162162 public entry fun test_init_twice_fail (admin: &signer ) {
163163 minimarket::init (admin, 0 );
164164 minimarket::init (admin, 0 );
@@ -176,7 +176,7 @@ module minimarket::minimarket_tests {
176176 }
177177
178178 #[test(admin = @0 xD)]
179- #[expected_failure(abort_code = 8 , location = @0 x225b149b3bfc3caabcbb7edf8c855636c0c00131226127e35545556aaf325278 )] // E_PRICE_MISMATCH
179+ #[expected_failure(abort_code = 8 , location = minimarket::minimarket )] // E_PRICE_MISMATCH
180180 public entry fun test_buy_price_mismatch (admin: &signer ) {
181181 let a = signer ::address_of (admin);
182182 minimarket::init (admin, 250 );
You can’t perform that action at this time.
0 commit comments