mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add note about sample value names
This commit is contained in:
parent
152ad5a5bf
commit
79392fbeff
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module Spectator::DSL
|
|||
end
|
||||
|
||||
private def build_sub_group(parent : ExampleGroup, sample_values : Internals::SampleValues, value : T) : NestedExampleGroup
|
||||
sub_values = sample_values.add(@symbol, @symbol.to_s, value)
|
||||
sub_values = sample_values.add(@symbol, @symbol.to_s, value) # TODO: Use real name instead of symbol as string.
|
||||
NestedExampleGroup.new(value.to_s, parent, ExampleHooks.empty).tap do |group|
|
||||
group.children = @children.map do |child|
|
||||
child.build(group, sub_values).as(ExampleComponent)
|
||||
|
|
Loading…
Reference in a new issue