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

Remove redundant space when missing expectation #724

Merged
merged 1 commit into from
May 9, 2016

Conversation

alexpop
Copy link
Contributor

@alexpop alexpop commented May 9, 2016

This code change removes an extra space that's added when an expectation is not provided. I always noticed that extra space and thought for a second that something is wrong.

Diff for one of the translated tests after this change:

   describe file("/boot/grub2/grub.cfg") do
-    it { should exist  }
+    it { should exist }
   end
   describe file("/boot/grub2/grub.cfg") do
     it { should_not be_executable.by "group" }
   end

@alexpop alexpop added the Type: Enhancement Improves an existing feature label May 9, 2016
@arlimus
Copy link
Contributor

arlimus commented May 9, 2016

Nice cleanup @alexpop kudos!

@arlimus arlimus merged commit 11ce09b into master May 9, 2016
@arlimus arlimus deleted the ap/redundant_space branch May 9, 2016 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants