From ca447485c1be6fe9e9ce50757fa847e078d74082 Mon Sep 17 00:00:00 2001
From: Mikhail Kuklin <mihan007@ya.ru>
Date: Sun, 26 May 2019 13:23:11 +0300
Subject: [PATCH 1/2] test: add util inspect null getter test

---
 test/parallel/test-util-inspect.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/parallel/test-util-inspect.js b/test/parallel/test-util-inspect.js
index 16ea2a40e803f4..29fb2f4a15854c 100644
--- a/test/parallel/test-util-inspect.js
+++ b/test/parallel/test-util-inspect.js
@@ -339,6 +339,11 @@ assert.strictEqual(
   const value = {};
   value.a = value;
   assert.strictEqual(util.inspect(value), '<ref *1> { a: [Circular *1] }');
+  const getterFn = { get one() { return null; } }
+  assert.strictEqual(
+    util.inspect(getterFn, {getters: true}),
+    '{ one: [Getter: null] }'
+  );
 }
 
 // Array with dynamic properties.

From 0fb60655b64a97d64d4eef2d9a74b94e92f3e639 Mon Sep 17 00:00:00 2001
From: Mikhail Kuklin <mihan007@ya.ru>
Date: Sun, 26 May 2019 13:23:11 +0300
Subject: [PATCH 2/2] test: add util inspect null getter test

---
 test/parallel/test-util-inspect.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/test/parallel/test-util-inspect.js b/test/parallel/test-util-inspect.js
index 29fb2f4a15854c..6cb2a084ce6607 100644
--- a/test/parallel/test-util-inspect.js
+++ b/test/parallel/test-util-inspect.js
@@ -339,9 +339,13 @@ assert.strictEqual(
   const value = {};
   value.a = value;
   assert.strictEqual(util.inspect(value), '<ref *1> { a: [Circular *1] }');
-  const getterFn = { get one() { return null; } }
+  const getterFn = {
+    get one() {
+      return null;
+    }
+  };
   assert.strictEqual(
-    util.inspect(getterFn, {getters: true}),
+    util.inspect(getterFn, { getters: true }),
     '{ one: [Getter: null] }'
   );
 }