| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -175,6 +175,7 @@ common.expectsError(() => { | |||
| 175 | 175 | message: /^Error for testing 2/ }); | |
| 176 | 176 | }, { | |
| 177 | 177 | code: 'ERR_ASSERTION', | |
| 178 | + type: assert.AssertionError, | ||
| 178 | 179 | message: /.+ does not match \S/ | |
| 179 | 180 | }); | |
| 180 | 181 | ||
@@ -225,6 +226,7 @@ common.expectsError( | |||
| 225 | 226 | () => errors.message('ERR_INVALID_URL_SCHEME', [[]]), | |
| 226 | 227 | { | |
| 227 | 228 | code: 'ERR_ASSERTION', | |
| 229 | + type: assert.AssertionError, | ||
| 228 | 230 | message: /^At least one expected value needs to be specified$/ | |
| 229 | 231 | }); | |
| 230 | 232 | ||
@@ -239,6 +241,7 @@ common.expectsError( | |||
| 239 | 241 | () => errors.message('ERR_MISSING_ARGS'), | |
| 240 | 242 | { | |
| 241 | 243 | code: 'ERR_ASSERTION', | |
| 244 | + type: assert.AssertionError, | ||
| 242 | 245 | message: /^At least one arg needs to be specified$/ | |
| 243 | 246 | }); | |
| 244 | 247 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments