diff --git a/README.md b/README.md index e644ad8..254c5fb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# [Bld](https://rife2.com/bld) Extension to Run Test with [TestNG](https://testng.org/) +# [Bld](https://rife2.com/bld) Extension to Run Tests with [TestNG](https://testng.org/) [![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) diff --git a/src/main/java/rife/bld/extension/TestNgOperation.java b/src/main/java/rife/bld/extension/TestNgOperation.java index 632de15..062e9fe 100644 --- a/src/main/java/rife/bld/extension/TestNgOperation.java +++ b/src/main/java/rife/bld/extension/TestNgOperation.java @@ -156,8 +156,8 @@ public class TestNgOperation extends AbstractProcessOperation { * Lets you specify method selectors on the command line. * For example: {@code "com.example.Selector1:3", "com.example.Selector2:2"} */ - public TestNgOperation methodSelectors(String... detector) { - options.put("-methodselectors", String.join(",", detector)); + public TestNgOperation methodSelectors(String... selector) { + options.put("-methodselectors", String.join(",", selector)); return this; }