summaryrefslogtreecommitdiff
path: root/doc/api/assert.md
diff options
context:
space:
mode:
authorWeijia Wang <381152119@qq.com>2018-03-25 22:27:38 +0800
committerWeijia Wang <381152119@qq.com>2018-04-01 22:33:13 +0800
commit254058109f469f64b8ca23bb65a206abab380604 (patch)
tree4069f77207f62816c248ed1ac9910467ff1b15d6 /doc/api/assert.md
parentf89f79893d6e15938f9237efe4d2473ab4a65e9f (diff)
downloadandroid-node-v8-254058109f469f64b8ca23bb65a206abab380604.tar.gz
android-node-v8-254058109f469f64b8ca23bb65a206abab380604.tar.bz2
android-node-v8-254058109f469f64b8ca23bb65a206abab380604.zip
tools: add 'spaced-comment' into eslint rules
PR-URL: https://github.com/nodejs/node/pull/19596 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'doc/api/assert.md')
-rw-r--r--doc/api/assert.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md
index c26628bd84..d470cc8090 100644
--- a/doc/api/assert.md
+++ b/doc/api/assert.md
@@ -456,7 +456,7 @@ assert.equal(1, '1');
assert.equal(1, 2);
// AssertionError: 1 == 2
assert.equal({ a: { b: 1 } }, { a: { b: 1 } });
-//AssertionError: { a: { b: 1 } } == { a: { b: 1 } }
+// AssertionError: { a: { b: 1 } } == { a: { b: 1 } }
```
If the values are not equal, an `AssertionError` is thrown with a `message`