mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 20:31:13 +00:00
Tests can use dbg macro (#7197)
There is a deny(clippy::dbg_macro) in the crate root, so newer Clippy fails here since tests use dbg. But dbg in tests are fine IMHO. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
4809bb0305
commit
580111dd98
@@ -14,6 +14,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#![allow(clippy::dbg_macro)]
|
||||
|
||||
use super::*;
|
||||
|
||||
use assert_matches::assert_matches;
|
||||
@@ -127,7 +129,6 @@ mod roundtrip {
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
fn sample_w_candidate_hash_aliased_unnecessary() {
|
||||
assert_matches!(impl_gum2(
|
||||
quote! {
|
||||
|
||||
Reference in New Issue
Block a user