mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Change test wrapper to a struct
This commit is contained in:
parent
d52be1ec50
commit
072055d947
1 changed files with 1 additions and 1 deletions
|
@ -931,7 +931,7 @@ module Spectator::DSL
|
||||||
# The block passed to this macro is the actual test code.
|
# The block passed to this macro is the actual test code.
|
||||||
private macro _spectator_example_wrapper(class_name, run_method_name, &block)
|
private macro _spectator_example_wrapper(class_name, run_method_name, &block)
|
||||||
# Wrapper class for isolating the test code.
|
# Wrapper class for isolating the test code.
|
||||||
class {{class_name.id}}
|
struct {{class_name.id}}
|
||||||
# Mix in methods and macros specifically for example DSL.
|
# Mix in methods and macros specifically for example DSL.
|
||||||
include ::Spectator::DSL::ExampleDSL
|
include ::Spectator::DSL::ExampleDSL
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue