From acf4d6025ca554bbe6158e3656925624ddddf521 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Thu, 4 Dec 2025 03:15:02 +0900 Subject: [PATCH] Add a missing assertion in `ConfigurationTest` This PR adds a missing assertion in `ConfigurationTest`. --- test/mcp/configuration_test.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/mcp/configuration_test.rb b/test/mcp/configuration_test.rb index a4193a2a..5096e038 100644 --- a/test/mcp/configuration_test.rb +++ b/test/mcp/configuration_test.rb @@ -12,8 +12,9 @@ class ConfigurationTest < ActiveSupport::TestCase exception = StandardError.new("test error") server_context = { test: "context" } - # Should not raise any errors - config.exception_reporter.call(exception, server_context) + assert_nothing_raised do + config.exception_reporter.call(exception, server_context) + end end test "allows setting a custom exception reporter" do