Skip to content

Commit acf4d60

Browse files
committed
Add a missing assertion in ConfigurationTest
This PR adds a missing assertion in `ConfigurationTest`.
1 parent 00392b6 commit acf4d60

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/mcp/configuration_test.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ class ConfigurationTest < ActiveSupport::TestCase
1212
exception = StandardError.new("test error")
1313
server_context = { test: "context" }
1414

15-
# Should not raise any errors
16-
config.exception_reporter.call(exception, server_context)
15+
assert_nothing_raised do
16+
config.exception_reporter.call(exception, server_context)
17+
end
1718
end
1819

1920
test "allows setting a custom exception reporter" do

0 commit comments

Comments
 (0)