mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
enhance Console.log
This commit is contained in:
@@ -21,6 +21,12 @@ public class ConsoleTest {
|
||||
|
||||
Console.log("This is Console log for {}.", "test");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void logTest2(){
|
||||
Console.log("a", "b", "c");
|
||||
Console.log((Object) "a", "b", "c");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void printTest(){
|
||||
@@ -29,6 +35,12 @@ public class ConsoleTest {
|
||||
|
||||
Console.log("This is Console print for {}.", "test");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void printTest2(){
|
||||
Console.print("a", "b", "c");
|
||||
Console.print((Object) "a", "b", "c");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void errorTest(){
|
||||
@@ -39,6 +51,12 @@ public class ConsoleTest {
|
||||
|
||||
Console.error("This is Console error for {}.", "test");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void errorTest2(){
|
||||
Console.error("a", "b", "c");
|
||||
Console.error((Object) "a", "b", "c");
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
|
Reference in New Issue
Block a user