Skip to content

Commit e06aadb

Browse files
authored
Update nft.move
1 parent 75a2eb6 commit e06aadb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

simplenft/sources/nft.move

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,8 @@ module SimpleNFT::nft {
6969
public fun destroy_for_test(r: Registry) {
7070
destroy_registry(r);
7171
}
72+
73+
// Публичная обёртка для юнит-тестов
74+
#[test_only]
75+
public fun destroy_registry_for_test(r: Registry) { destroy_registry(r); }
7276
}

0 commit comments

Comments
 (0)