Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit acad267

Browse files
committed
Add tests for 2 arguments
1 parent db1e9fa commit acad267

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/nodejs-v10/src/test/scala/io/scalajs/nodejs/console_module/ConsoleTest.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ class ConsoleTest extends AnyFunSpec with BeforeAndAfterEach {
3939
}
4040

4141
it("should accept multiple arguments") {
42+
Console.log("a", 1)
43+
Console.info("a", 2)
44+
Console.warn("a", 3)
45+
Console.debug("a", 4)
46+
Console.error(ScalaNativeObject(1), 5)
47+
Console.trace("", ScalaNativeObject(1))
4248
Console.log("a", 1, ScalaNativeObject(1))
4349
Console.info("a", 2, ScalaNativeObject(1))
4450
Console.warn("a", 3, ScalaNativeObject(1))

0 commit comments

Comments
 (0)