Change test wrapper to a struct

This commit is contained in:
Michael Miller 2018-11-17 00:14:14 -07:00
parent d52be1ec50
commit 072055d947
1 changed files with 1 additions and 1 deletions

View File

@ -931,7 +931,7 @@ module Spectator::DSL
# The block passed to this macro is the actual test code.
private macro _spectator_example_wrapper(class_name, run_method_name, &block)
# Wrapper class for isolating the test code.
class {{class_name.id}}
struct {{class_name.id}}
# Mix in methods and macros specifically for example DSL.
include ::Spectator::DSL::ExampleDSL