Skip to content

Commit

Permalink
Update help output expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
KaanOzkan committed Sep 25, 2024
1 parent 9ca0e20 commit 87f62e0
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions test/spoom/context/sorbet_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,10 @@ def test_context_run_srb_from_path
capture_err: true,
sorbet_bin: Spoom::Sorbet::BIN_PATH,
)
assert_equal(<<~OUT, result.err)
Typechecker for Ruby
assert_includes(result.err, <<~OUT)
Sorbet: A fast, powerful typechecker designed for Ruby
Usage:
sorbet [OPTION...] <path 1> <path 2> ...
-e string Parse an inline ruby string (default: "")
-q, --quiet Silence all non-critical errors
-v, --verbose Verbosity level [0-3]
-h Show short help
--help Show long help
--version Show version
sorbet [options] [[--] <path>...]
OUT
assert(result.status)
Expand Down

0 comments on commit 87f62e0

Please sign in to comment.