From 87f62e06fceec491ca4f3293957b3839b23e0517 Mon Sep 17 00:00:00 2001 From: Kaan Ozkan Date: Wed, 25 Sep 2024 14:28:36 -0400 Subject: [PATCH] Update help output expectation --- test/spoom/context/sorbet_test.rb | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/test/spoom/context/sorbet_test.rb b/test/spoom/context/sorbet_test.rb index 1489dc15..7054ee3a 100644 --- a/test/spoom/context/sorbet_test.rb +++ b/test/spoom/context/sorbet_test.rb @@ -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...] ... - - -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] [[--] ...] OUT assert(result.status)