diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-05 15:47:25 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-05 17:42:35 +0900 |
commit | dfb3322d27aa05f506818209ab6a10a77221b86d (patch) | |
tree | d3ccb678d621d7142572280cabc830d456c6d57f /spec/mspec/lib/mspec/runner/formatters/spinner.rb | |
parent | bea322a352d820007dd4e6cab88af5de01854736 (diff) | |
download | ruby-dfb3322d27aa05f506818209ab6a10a77221b86d.tar.gz |
`DottedFormatter#state` consistency
Let the method of `DottedFormatter` subclasses have the same
arity.
Diffstat (limited to 'spec/mspec/lib/mspec/runner/formatters/spinner.rb')
-rw-r--r-- | spec/mspec/lib/mspec/runner/formatters/spinner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mspec/lib/mspec/runner/formatters/spinner.rb b/spec/mspec/lib/mspec/runner/formatters/spinner.rb index f6f35cc476..89791b687f 100644 --- a/spec/mspec/lib/mspec/runner/formatters/spinner.rb +++ b/spec/mspec/lib/mspec/runner/formatters/spinner.rb @@ -105,7 +105,7 @@ class SpinnerFormatter < DottedFormatter end # Callback for the MSpec :after event. Updates the spinner. - def after(state) + def after(state = nil) print progress_line end |