Skip to content
Snippets Groups Projects
Commit 070148e9 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Add test files I forgot to commit with #4520 (#4598)

parent e00ddc56
No related merge requests found
use frame_support::construct_runtime;
construct_runtime! {
pub enum Runtime where
Block = Block,
NodeBlock = Block,
UncheckedExtrinsic = UncheckedExtrinsic
{
System: system,
Balance: balances::{default, Error},
}
}
fn main() {}
error: Only the following modules are allowed: `Module`, `Call`, `Storage`, `Event`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`
--> $DIR/default_module_invalid_arg.rs:10:32
|
10 | Balance: balances::{default, Error},
| ^^^^^
use frame_support::construct_runtime;
construct_runtime! {
pub enum Runtime where
Block = Block,
NodeBlock = Block,
UncheckedExtrinsic = UncheckedExtrinsic
{
System: system,
Balance: balances::{Error},
}
}
fn main() {}
error: Only the following modules are allowed: `Module`, `Call`, `Storage`, `Event`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`
--> $DIR/invalid_module_entry.rs:10:23
|
10 | Balance: balances::{Error},
| ^^^^^
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment