Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up many test files to pass Rubocop rules #4902

Merged
merged 22 commits into from May 17, 2016
Merged

Clean up many test files to pass Rubocop rules #4902

merged 22 commits into from May 17, 2016

Conversation

brint
Copy link

@brint brint commented May 15, 2016

This PR cleans up rubocop violations for the following files:

test/helper.rb
test/simplecov_custom_profile.rb
test/test_ansi.rb
test/test_cleaner.rb
test/test_coffeescript.rb
test/test_collections.rb
test/test_command.rb
test/test_commands_serve.rb
test/test_convertible.rb
test/test_doctor_command.rb
test/test_excerpt.rb
test/test_front_matter_defaults.rb
test/test_generated_site.rb
test/test_layout_reader.rb
test/test_liquid_extensions.rb
test/test_log_adapter.rb
test/test_new_command.rb
test/test_path_sanitization.rb
test/test_plugin_manager.rb
test/test_rdiscount.rb
test/test_redcarpet.rb

end
end

context "not-nested directory in keep_files and similary named directory not in keep_files" do
context "not-nested directory in keep_files and similary named directory not "\
"in keep_files" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's try to just shorten this name. super confusing haha. how about

non-nested directory & similarly-named directory *not* in keep_files

does that work here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix committed locally (documenting this so I can keep track of what's done)

@parkr
Copy link
Member

parkr commented May 16, 2016

Hey @brint, thanks so much for your pull request! I have some things I'd like for you to fix up before we merge this, but it's looking great! We'll merge it once the comments I left are addressed. Thank you! 😄

@parkr parkr added needs-work pending-feedback We are waiting for more info. labels May 16, 2016
@brint
Copy link
Author

brint commented May 17, 2016

Sounds good! Doing the cleanup, I've rebased to pick up some of the new rules. Some of these lines were one or two characters over the 90

@parkr
Copy link
Member

parkr commented May 17, 2016

Doing the cleanup, I've rebased to pick up some of the new rules. Some of these lines were one or two characters over the 90

Ah ok. Feel free to rephrase some of the suggestions so they're less than 90 characters. Thank you!

@parkr parkr changed the title Rubocop test cleanups for #4885 Clean up many test files to pass Rubocop rules May 17, 2016
@parkr
Copy link
Member

parkr commented May 17, 2016

Lookin' good to me, thanks @brint!

@jekyllbot: merge +dev

@jekyllbot jekyllbot merged commit 9e92061 into jekyll:master May 17, 2016
jekyllbot added a commit that referenced this pull request May 17, 2016
@parkr parkr removed needs-work pending-feedback We are waiting for more info. labels May 17, 2016
@brint brint deleted the rubocop_cleanup_tests branch May 17, 2016 18:39
@jekyll jekyll locked and limited conversation to collaborators Jul 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants