Skip to content

Commit 614c016

Browse files
authored
Merge pull request #192 from koic/add_missing_assertion
Add a missing assertion in `ConfigurationTest`
2 parents 771163c + acf4d60 commit 614c016

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)