| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d384911 commit d759e0f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -115,7 +115,7 @@ assert.deepEqual([[[1, 2, 3]], 4, 5], [[[1, 2, '3']], 4, 5]); | |||
| 115 | 115 | ``` | |
| 116 | 116 | ||
| 117 | 117 | To deactivate the colors, use the `NODE_DISABLE_COLORS` environment variable. | |
| 118 | - Please note that this will also deactivate the colors in the REPL. | ||
| 118 | + This will also deactivate the colors in the REPL. | ||
| 119 | 119 | ||
| 120 | 120 | ## Legacy mode | |
| 121 | 121 | ||
@@ -1029,7 +1029,7 @@ assert.rejects( | |||
| 1029 | 1029 | }); | |
| 1030 | 1030 | ``` | |
| 1031 | 1031 | ||
| 1032 | - Note that `error` cannot be a string. If a string is provided as the second | ||
| 1032 | + `error` cannot be a string. If a string is provided as the second | ||
| 1033 | 1033 | argument, then `error` is assumed to be omitted and the string will be used for | |
| 1034 | 1034 | `message` instead. This can lead to easy-to-miss mistakes. Please read the | |
| 1035 | 1035 | example in [`assert.throws()`][] carefully if using a string as the second | |
@@ -1131,7 +1131,7 @@ assert.throws( | |||
| 1131 | 1131 | nested: true, | |
| 1132 | 1132 | baz: 'text' | |
| 1133 | 1133 | } | |
| 1134 | - // Note that only properties on the validation object will be tested for. | ||
| 1134 | + // Only properties on the validation object will be tested for. | ||
| 1135 | 1135 | // Using nested objects requires all properties to be present. Otherwise | |
| 1136 | 1136 | // the validation is going to fail. | |
| 1137 | 1137 | } | |
@@ -1217,7 +1217,7 @@ assert.throws( | |||
| 1217 | 1217 | ); | |
| 1218 | 1218 | ``` | |
| 1219 | 1219 | ||
| 1220 | - Note that `error` cannot be a string. If a string is provided as the second | ||
| 1220 | + `error` cannot be a string. If a string is provided as the second | ||
| 1221 | 1221 | argument, then `error` is assumed to be omitted and the string will be used for | |
| 1222 | 1222 | `message` instead. This can lead to easy-to-miss mistakes. Using the same | |
| 1223 | 1223 | message as the thrown error message is going to result in an | |
| Back | FazBrowse Home | New Git URL |
0 commit comments