Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "fail" method undefined in assert but it added in node v0.1.21 #737

Open
forchid opened this issue Nov 10, 2022 · 0 comments
Open

The "fail" method undefined in assert but it added in node v0.1.21 #737

forchid opened this issue Nov 10, 2022 · 0 comments

Comments

@forchid
Copy link

forchid commented Nov 10, 2022

The fail method not exists in current fibjs, but it had been added in node v0.1.21.

Test case

C:\Users\Administrator>fibjs
Welcome to fibjs 0.35.0.
Type ".help" for more information.
> typeof assert.ok
"function"
> typeof assert.fail
"undefined"
> .exit

C:\Users\Administrator>node
Welcome to Node.js v16.13.0.
Type ".help" for more information.
> typeof assert.ok
'function'
> typeof assert.fail
'function'
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant