File tree Expand file tree Collapse file tree
api/incubator/src/test/java/io/opentelemetry/sdk/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -355,8 +355,7 @@ void pathValidation_rejectsMissingLeadingDot() {
355355 .isInstanceOf (IllegalArgumentException .class );
356356 assertThatThrownBy (() -> provider .updateConfig ("instrumentation" , config (mapOf ())))
357357 .isInstanceOf (IllegalArgumentException .class );
358- assertThatThrownBy (
359- () -> provider .setConfigProperty ("instrumentation" , "key" , "value" ))
358+ assertThatThrownBy (() -> provider .setConfigProperty ("instrumentation" , "key" , "value" ))
360359 .isInstanceOf (IllegalArgumentException .class );
361360 }
362361
@@ -376,8 +375,7 @@ void pathValidation_rejectsWildcards() {
376375 void pathValidation_rejectsBrackets () {
377376 SdkConfigProvider provider = SdkConfigProvider .create (config (mapOf ()));
378377
379- assertThatThrownBy (
380- () -> provider .addConfigChangeListener (".foo[0]" , (path , newConfig ) -> {}))
378+ assertThatThrownBy (() -> provider .addConfigChangeListener (".foo[0]" , (path , newConfig ) -> {}))
381379 .isInstanceOf (IllegalArgumentException .class );
382380 assertThatThrownBy (() -> provider .updateConfig (".foo[0]" , config (mapOf ())))
383381 .isInstanceOf (IllegalArgumentException .class );
You can’t perform that action at this time.
0 commit comments