[slf4j-dev] svn commit: r1020 - slf4j/trunk/slf4j-simple/src/test/java/org/slf4j
ceki at slf4j.org
ceki at slf4j.org
Wed May 28 22:21:56 CEST 2008
Author: ceki
Date: Wed May 28 22:21:55 2008
New Revision: 1020
Modified:
slf4j/trunk/slf4j-simple/src/test/java/org/slf4j/InvocationTest.java
Log:
- test case in relation with http://bugzilla.slf4j.org/show_bug.cgi?id=78
Modified: slf4j/trunk/slf4j-simple/src/test/java/org/slf4j/InvocationTest.java
==============================================================================
--- slf4j/trunk/slf4j-simple/src/test/java/org/slf4j/InvocationTest.java (original)
+++ slf4j/trunk/slf4j-simple/src/test/java/org/slf4j/InvocationTest.java Wed May 28 22:21:55 2008
@@ -85,6 +85,14 @@
logger.error("Hello world 4.", e);
}
+ // http://bugzilla.slf4j.org/show_bug.cgi?id=78
+ public void testNullParameter_BUG78() {
+ Logger logger = LoggerFactory.getLogger("testNullParameter_BUG78");
+ String[] parameters = null;
+ String msg = "hello {}";
+ logger.info(msg, parameters);
+ }
+
public void testNull() {
Logger logger = LoggerFactory.getLogger("testNull");
logger.debug(null);
More information about the slf4j-dev
mailing list