Skip to content

Commit

Permalink
DefaultFormatterTest: remove throws declaration to pass quality gate
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Peter authored and Benjamin Peter committed Dec 9, 2024
1 parent 14be578 commit 50668f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class DefaultFormatterTest {

@Test
void formatAndParsingWorks() throws Exception {
void formatAndParsingWorks() {
DefaultFormatter formatter = new DefaultFormatter();
formatter.updateFormatter(DoubleArrayList.wrap(new double[]{1e-5, 10}), 1.);

Expand All @@ -22,7 +22,7 @@ void formatAndParsingWorks() throws Exception {
}

@Test
void formatAndParsingWorksWithExponentialSeparator() throws Exception {
void formatAndParsingWorksWithExponentialSeparator() {
DefaultFormatter formatter = new DefaultFormatter() {
{
formatter.setExponentialSeparator('\u202F');
Expand Down

0 comments on commit 50668f0

Please sign in to comment.