Skip to content

Commit

Permalink
Move ui test to primitives/ui
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
  • Loading branch information
lexnv committed Mar 30, 2023
1 parent 2d76e6d commit 3bafb29
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Do not use `construct_runtime!`.
struct Runtime;

// Empty `impl_runtime_apis!` cannot deduce the Runtime name
// and should not implement the `runtime_metadata()` method.
sp_api::impl_runtime_apis! {}

// Expect the test to compile because this has the effect of
// not calling `construct_runtime!` nor `impl_runtime_apis!`
// for the Runtime.
fn main() {}

0 comments on commit 3bafb29

Please sign in to comment.