Merge pull request #192 from koic/add_missing_assertion
Add a missing assertion in `ConfigurationTest`
This commit is contained in:
commit
614c016c8d
1 changed files with 3 additions and 2 deletions
|
|
@ -12,8 +12,9 @@ module MCP
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue