mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add tests for adding/omitting the space in #to_s
This commit is contained in:
parent
fe083b0f74
commit
6cc3c5e20b
3 changed files with 131 additions and 4 deletions
|
@ -1,5 +1,10 @@
|
|||
# Example that always succeeds.
|
||||
class PassingExample < Spectator::RunnableExample
|
||||
# Creates the example.
|
||||
def initialize(group, values, @symbolic = false)
|
||||
super(group, values)
|
||||
end
|
||||
|
||||
# Dummy description.
|
||||
def what
|
||||
"PASS"
|
||||
|
@ -12,7 +17,7 @@ class PassingExample < Spectator::RunnableExample
|
|||
|
||||
# Dummy symbolic flag.
|
||||
def symbolic?
|
||||
false
|
||||
@symbolic
|
||||
end
|
||||
|
||||
# Dummy instance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue