You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2019/07/01 12:59:37 UTC

[wicket] branch wicket-7.x updated: WICKET-6680 JUnit 4.x requires @Test methods to be public

This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch wicket-7.x
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/wicket-7.x by this push:
     new d7ea8f1  WICKET-6680 JUnit 4.x requires @Test methods to be public
d7ea8f1 is described below

commit d7ea8f15d7f8585c41740229ea06466c62bc1d1d
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Mon Jul 1 15:58:44 2019 +0300

    WICKET-6680 JUnit 4.x requires @Test methods to be public
    
    (cherry picked from commit d97831d7eb6653aefe3e87adffa2fee51a171f11)
---
 .../test/java/org/apache/wicket/util/string/JavaScriptStripperTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wicket-core/src/test/java/org/apache/wicket/util/string/JavaScriptStripperTest.java b/wicket-core/src/test/java/org/apache/wicket/util/string/JavaScriptStripperTest.java
index cd604fc..5f5634f 100644
--- a/wicket-core/src/test/java/org/apache/wicket/util/string/JavaScriptStripperTest.java
+++ b/wicket-core/src/test/java/org/apache/wicket/util/string/JavaScriptStripperTest.java
@@ -170,7 +170,7 @@ public class JavaScriptStripperTest extends Assert
 
 	/**	https://issues.apache.org/jira/browse/WICKET-6680 */
 	@Test
-	void templateLiteralWithTwoForwardSlashes() {
+	public void templateLiteralWithTwoForwardSlashes() {
 		final String before = "const url = `${protocol}//${hostname}:${port}`;";
 		final String after = new JavaScriptStripper().stripCommentsAndWhitespace(before);