| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
20285ad changed the format of error messages throughout lib. However, the tests were not updated to reflect these changes. This commit makes those changes.
|
@silverwind @micnic please be sure to always run the tests before landing. :D |
Sorry, something went wrong.
|
Thanks @cjihrig for picking the slack! LGTM, verified locally as CI seems to still be down. |
Sorry, something went wrong.
There was a problem hiding this comment.
Was this one missed in the original commit, by the way?
Sorry, something went wrong.
There was a problem hiding this comment.
Yes. And it made one of the path tests a pain to fix.
Sorry, something went wrong.
There was a problem hiding this comment.
@micnic want to do a second pass if there are more errors that were missed, like this one?
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
There was a problem hiding this comment.
Why ignore case is necessary in these two places?
Sorry, something went wrong.
There was a problem hiding this comment.
The error string is 'Must start with number, buffer, array or string'.
Sorry, something went wrong.
There was a problem hiding this comment.
Then, why not fix the string itself? That would be better, right?
Sorry, something went wrong.
There was a problem hiding this comment.
I'll do that on the landing.
Sorry, something went wrong.
There was a problem hiding this comment.
I made the regex case insensitive because if that were already the case, this test wouldn't have broken at all.
Sorry, something went wrong.
20285ad changed the format of error messages throughout lib. However, the tests were not updated to reflect these changes. This commit makes those changes. PR-URL: #3727 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell <jasnell@gmail.com>
|
Landed in 2c33819 with the suggested regex change. master is green again, sorry for the trouble. I'll have a look at the remaining error messages in case more were missed. |
Sorry, something went wrong.
|
@cjihrig ... should this be looked at for v4.x? |
Sorry, something went wrong.
|
I don't think so. The PR that updated the error messages was deemed not LTS (#3374). |
Sorry, something went wrong.
|
This depends on #3374, which makes it a semver-major. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
20285ad changed the format of error messages throughout lib. However, the tests were not updated to reflect these changes. This commit makes those changes.