You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) Albatross::Cli given --help prints the help screen
Failure/Error:
expect(stdout.string).to eq(<<-OUTPUT)
Commands for working with the development environment.
#{colorize(:bold, "USAGE")}
executable COMMAND [OPTIONS]
#{colorize(:bold, "COMMANDS")}
init - Initialize development environment
Expected "Commands for working with the development environment.\n\n\e[1mUSAGE\e[0m\n\nexecutable COMMAND [OPTIONS]\n\n\e[1mCOMMANDS\e[0m\n\ninit - Initialize development environment\n run - Run a command within a Ruby version\n\n\e[1mOPTIONS\e[0m\n\n -h, --help You're looking at it ;)\n\n"
to eq "Commands for working with the development environment.\n\n\e[1mUSAGE\e[0m\n\nexecutable COMMAND [OPTIONS]\n\n\e[1mCOMMANDS\e[0m\n\ninit - Initialize development environment\n run - Run a command within a Ruby version\n\n\e[1mOPTIONS\e[0m\n\n -h, --help You're looking at it ;)\n"
Diff:
┌ (Key) ──────────────────────────┐
│ ‹-› in expected, not in actual │
│ ‹+› in actual, not in expected │
│ ‹ › in both expected and actual │
└─────────────────────────────────┘
Commands for working with the development environment.\n
\e[1mUSAGE\e[0m\n
executable COMMAND [OPTIONS]\n
\e[1mCOMMANDS\e[0m\n
init - Initialize development environment\n
run - Run a command within a Ruby version\n
\e[1mOPTIONS\e[0m\n
-h, --help You're looking at it ;)\n
Here, actual has an extra newline, whereas expected does not. However, this isn't obvious, because the diff doesn't have any - or + lines whatsoever.
The text was updated successfully, but these errors were encountered:
Here's some example output from RSpec:
Here,
actual
has an extra newline, whereasexpected
does not. However, this isn't obvious, because the diff doesn't have any-
or+
lines whatsoever.The text was updated successfully, but these errors were encountered: