Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Dec 21, 2024
1 parent a629e0d commit 05c2985
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
package org.mozilla.javascript.tests;

import static org.junit.Assert.assertThrows;

import org.junit.Test;
import org.mozilla.javascript.EvaluatorException;
import org.mozilla.javascript.Scriptable;

public class NullishCoalescingOpTest {
@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
package org.mozilla.javascript.tests;

import static org.junit.Assert.assertThrows;

import org.junit.Test;
import org.mozilla.javascript.EvaluatorException;
import org.mozilla.javascript.Scriptable;
import org.mozilla.javascript.Undefined;

public class OptionalChainingOperatorTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ private static <T extends Exception> void assertException(
String js) {

// to avoid false positives because we use startsWith()
assertTrue("expectedMessage can't be empty",expectedMessage != null && !expectedMessage.isEmpty());
assertTrue(
"expectedMessage can't be empty",
expectedMessage != null && !expectedMessage.isEmpty());

Utils.runWithAllOptimizationLevels(
cx -> {
Expand Down

0 comments on commit 05c2985

Please sign in to comment.