Remove unnecessary throws declaration in tests
See gh-26441
This commit is contained in:
@@ -47,7 +47,7 @@ class MetricsHealthMicrometerExportTests {
|
||||
private MeterRegistry registry;
|
||||
|
||||
@Test
|
||||
void registryExportsHealth() throws Exception {
|
||||
void registryExportsHealth() {
|
||||
Gauge gauge = this.registry.get("health").gauge();
|
||||
assertThat(gauge.value()).isEqualTo(2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user