Merge pull request #192 from koic/add_missing_assertion

Add a missing assertion in `ConfigurationTest`
This commit is contained in:
Koichi ITO 2025-12-25 00:33:12 +09:00 • committed by GitHub
commit 614c016c8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,9 +12,10 @@ module MCP
exception = StandardError.new("test error") exception = StandardError.new("test error")
server_context = { test: "context" } server_context = { test: "context" }
# Should not raise any errors assert_nothing_raised do
config.exception_reporter.call(exception, server_context) config.exception_reporter.call(exception, server_context)
end end
end
test "allows setting a custom exception reporter" do test "allows setting a custom exception reporter" do
config = Configuration.new config = Configuration.new