From 7ac1b4a452aeb1f24ec266f3de2ad28eb9167e27 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Tue, 15 Aug 2023 09:58:47 -0700 Subject: [PATCH] Minore cleanup --- README.md | 2 +- src/main/java/rife/bld/extension/TestNgOperation.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }