Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: Adjust frame-support metadata docs
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
  • Loading branch information
lexnv committed Jun 29, 2023
commit e0dfe5bbef266a46972c3bc88df5f4754f650964
6 changes: 3 additions & 3 deletions frame/support/test/tests/pallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@ fn metadata() {
},
],
error: Some(PalletErrorMetadata { ty: meta_type::<pallet::Error<Runtime>>() }),
docs: maybe_docs(expected_pallet_doc),
docs: expected_pallet_doc,
},
PalletMetadata {
index: 2,
Expand Down Expand Up @@ -1624,7 +1624,7 @@ fn metadata() {
event: None,
constants: vec![],
error: None,
docs: vec![],
docs: vec![" Test that the supertrait check works when we pass some parameter to the `frame_system::Config`."],
},
#[cfg(feature = "frame-feature-testing-2")]
PalletMetadata {
Expand All @@ -1635,7 +1635,7 @@ fn metadata() {
event: None,
constants: vec![],
error: None,
docs: vec![],
docs: vec![" Test that the supertrait check works when we pass some parameter to the `frame_system::Config`."],
},
];

Expand Down