diff --git a/test/spoom/context/sorbet_test.rb b/test/spoom/context/sorbet_test.rb index 5b58a027..1489dc15 100644 --- a/test/spoom/context/sorbet_test.rb +++ b/test/spoom/context/sorbet_test.rb @@ -44,7 +44,7 @@ def test_context_run_srb_from_bundle context.write_sorbet_config!(".") res = context.srb("tc") - assert_equal(<<~ERR, res.err) + assert_includes(res.err, <<~ERR) a.rb:3: Method `foo` does not exist on `T.class_of()` https://srb.help/7003 3 |foo(42) ^^^