Skip to content

Commit bd882d3

Browse files
committed
chore: clean up Move compiler warnings
1 parent 6169c22 commit bd882d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aptos-move/framework/aptos-framework/sources/system_addresses.move

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ module aptos_framework::system_addresses {
9191
#[test(aptos_framework = @0x1, core_resources = @0xA550C18)]
9292
public entry fun test_core_resource_check_returns_false_with_flag_enabled(aptos_framework: signer, core_resources: address) {
9393
// Enable the feature flag for testing
94-
std::features::change_feature_flags_for_testing(&aptos_framework, vector[222], vector[]);
94+
change_feature_flags_for_testing(&aptos_framework, vector[222], vector[]);
9595

9696
// Assert that is_core_resource_address returns false
9797
assert!(!is_core_resource_address(core_resources), 0);
@@ -100,7 +100,7 @@ module aptos_framework::system_addresses {
100100
#[test(aptos_framework = @0x1, core_resources = @0xA550C18)]
101101
public entry fun test_core_resource_check_returns_true_without_flag(aptos_framework: signer, core_resources: address) {
102102
// Disable the feature flag for testing
103-
std::features::change_feature_flags_for_testing(&aptos_framework, vector[], vector[222]);
103+
change_feature_flags_for_testing(&aptos_framework, vector[], vector[222]);
104104

105105
// Assert that is_core_resource_address returns true
106106
assert!(is_core_resource_address(core_resources), 0);

0 commit comments

Comments
 (0)