diff --git a/rhino/src/test/java/org/mozilla/javascript/tests/Bug637811Test.java b/rhino/src/test/java/org/mozilla/javascript/tests/Bug637811Test.java index 63c5311f15..c0a81d62f7 100755 --- a/rhino/src/test/java/org/mozilla/javascript/tests/Bug637811Test.java +++ b/rhino/src/test/java/org/mozilla/javascript/tests/Bug637811Test.java @@ -16,7 +16,8 @@ public class Bug637811Test { @Test public void test() { Utils.assertWithAllModes( - Utils.contextFactoryWithFeatures(Context.FEATURE_STRICT_MODE, Context.FEATURE_WARNING_AS_ERROR), + Utils.contextFactoryWithFeatures( + Context.FEATURE_STRICT_MODE, Context.FEATURE_WARNING_AS_ERROR), Context.VERSION_ES6, null, Undefined.instance, diff --git a/testutils/src/main/java/org/mozilla/javascript/tests/Utils.java b/testutils/src/main/java/org/mozilla/javascript/tests/Utils.java index dd13c00c5c..7a30bc1d6c 100644 --- a/testutils/src/main/java/org/mozilla/javascript/tests/Utils.java +++ b/testutils/src/main/java/org/mozilla/javascript/tests/Utils.java @@ -336,8 +336,8 @@ public static void assertException( } /** - * @param features the features to enable in addition to the already enabled - * featured from the {@link ContextFactory} + * @param features the features to enable in addition to the already enabled featured from the + * {@link ContextFactory} * @return a new {@link ContextFactory} with all provided features enabled */ public static ContextFactory contextFactoryWithFeatures(int... features) {