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

Commit b20c147

Browse files
author
exoego
committed
Do not use default compact value 3 in Node.js v12
1 parent 82ef714 commit b20c147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/nodejs-v10/src/test/scala/nodejs/util/UtilTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import scala.scalajs.js
77
class UtilTest extends FunSpec {
88

99
it("have formatWithOptions added in v10.0.0") {
10-
assert(Util.formatWithOptions(new InspectOptions(), "See object %O", new js.Object {
10+
assert(Util.formatWithOptions(new InspectOptions(compact = true), "See object %O", new js.Object {
1111
val foo: Int = 42
1212
}) === "See object { foo: 42 }")
1313
}

0 commit comments

Comments
 (0)