mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 08:17:57 +00:00
Add --derive-for-type to cli (#708)
* Add `--derive-for-type` to cli * Remove clippy warnings
This commit is contained in:
committed by
GitHub
parent
702e87e58d
commit
a80d6cfd30
@@ -28,21 +28,21 @@ fn ui_tests() {
|
||||
t.pass("src/correct/*.rs");
|
||||
|
||||
// Check that storage maps with no keys are handled properly.
|
||||
t.pass(&m.path_to_ui_test_for_metadata(
|
||||
t.pass(m.path_to_ui_test_for_metadata(
|
||||
"storage_map_no_keys",
|
||||
storage::metadata_storage_map_no_keys(),
|
||||
));
|
||||
|
||||
// Test that the codegen can handle the different types of DispatchError.
|
||||
t.pass(&m.path_to_ui_test_for_metadata(
|
||||
t.pass(m.path_to_ui_test_for_metadata(
|
||||
"named_field_dispatch_error",
|
||||
dispatch_errors::metadata_named_field_dispatch_error(),
|
||||
));
|
||||
t.pass(&m.path_to_ui_test_for_metadata(
|
||||
t.pass(m.path_to_ui_test_for_metadata(
|
||||
"legacy_dispatch_error",
|
||||
dispatch_errors::metadata_legacy_dispatch_error(),
|
||||
));
|
||||
t.pass(&m.path_to_ui_test_for_metadata(
|
||||
t.pass(m.path_to_ui_test_for_metadata(
|
||||
"array_dispatch_error",
|
||||
dispatch_errors::metadata_array_dispatch_error(),
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user