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

Unnecessary space on assertions #51

Open
faqndo97 opened this issue Apr 23, 2022 · 0 comments · May be fixed by #93
Open

Unnecessary space on assertions #51

faqndo97 opened this issue Apr 23, 2022 · 0 comments · May be fixed by #93

Comments

@faqndo97
Copy link

Here:

chunks.first << indentation + "#{last["action"]} #{last["target"]}#{last["options"]}" + "\n"

That space between #{last["action"]} and #{last["target"]}#{last["options"]} is causing this:

Screen Shot 2022-04-23 at 5 50 34 PM

What can we do?

last["action"].to_s + " #{last["target"]}#{last["options"]}"
or
"#{last["action"]}" + " #{last["target"]}#{last["options"]}"
or
#{last["action"]}#{' ' + last["target"]}#{last["options"]}

What do you think? I can send a PR with this after discuss the improvement if needed.

@gazayas gazayas linked a pull request Jun 23, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant