Created
December 19, 2014 01:45
-
-
Save kakutani/3324943902f8272c671c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bundle exec rspec spec/rubocop/cop/style/format_string_spec.rb *[master]2.1.5 | |
Run options: | |
include {:focus=>true} | |
exclude {:broken=>#<Proc:./spec/spec_helper.rb:21>, :ruby=>#<Proc:./spec/spec_helper.rb:19>} | |
All examples were filtered out; ignoring {:focus=>true} | |
...F.....F........F... | |
Failures: | |
1) RuboCop::Cop::Style::FormatString when enforced style is sprintf registers an offense for format with 2 arguments | |
Failure/Error: expect(cop.offenses.size).to eq(1) | |
expected: 1 | |
got: 0 | |
(compared using ==) | |
# ./spec/rubocop/cop/style/format_string_spec.rb:61:in `block (3 levels) in <top (required)>' | |
2) RuboCop::Cop::Style::FormatString when enforced style is percent registers an offense for sprintf with 3 arguments | |
Failure/Error: expect(cop.offenses.size).to eq(1) | |
expected: 1 | |
got: 0 | |
(compared using ==) | |
# ./spec/rubocop/cop/style/format_string_spec.rb:150:in `block (3 levels) in <top (required)>' | |
3) RuboCop::Cop::Style::FormatString when enforced style is format registers an offense for sprintf with 2 arguments | |
Failure/Error: expect(cop.offenses.size).to eq(1) | |
expected: 1 | |
got: 0 | |
(compared using ==) | |
# ./spec/rubocop/cop/style/format_string_spec.rb:121:in `block (3 levels) in <top (required)>' | |
Finished in 0.03528 seconds (files took 0.45545 seconds to load) | |
22 examples, 3 failures | |
Failed examples: | |
rspec ./spec/rubocop/cop/style/format_string_spec.rb:58 # RuboCop::Cop::Style::FormatString when enforced style is sprintf registers an offense for format with 2 arguments | |
rspec ./spec/rubocop/cop/style/format_string_spec.rb:147 # RuboCop::Cop::Style::FormatString when enforced style is percent registers an offense for sprintf with 3 arguments | |
rspec ./spec/rubocop/cop/style/format_string_spec.rb:118 # RuboCop::Cop::Style::FormatString when enforced style is format registers an offense for sprintf with 2 arguments | |
Randomized with seed 20125 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment