| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6ff0b80 commit a38de61
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -308,12 +308,7 @@ function getErrMessage(message, fn) { | |||
| 308 | 308 | return; | |
| 309 | 309 | } | |
| 310 | 310 | } else { | |
| 311 | - const fn = call.getFunction(); | ||
| 312 | - if (!fn) { | ||
| 313 | - return message; | ||
| 314 | - } | ||
| 315 | - code = String(fn); | ||
| 316 | - identifier = `${code}${line}${column}`; | ||
| 311 | + return message; | ||
| 317 | 312 | } | |
| 318 | 313 | ||
| 319 | 314 | if (errorCache.has(identifier)) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -921,7 +921,7 @@ assert.throws( | |||
| 921 | 921 | { | |
| 922 | 922 | code: 'ERR_ASSERTION', | |
| 923 | 923 | constructor: assert.AssertionError, | |
| 924 | - message: 'The expression evaluated to a falsy value:\n\n assert(1 === 2)\n' | ||
| 924 | + message: 'false == true' | ||
| 925 | 925 | } | |
| 926 | 926 | ); | |
| 927 | 927 | assert.throws( | |
| Back | FazBrowse Home | New Git URL |
0 commit comments