-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
tutorial2中非法的情况是不是没判断完全 #231
Comments
lept_parse_number()函数的其中一个判断应该改成这样吧: |
再补充一下,如果测试用例中添加了这个测试用例,原来的处理逻辑会认为这是一个合法的数字,实际上这并不是一个合法的数字: |
你这个测试用例应该改为: |
没问题啊,只解析了0 |
是的,我想错了 |
如果我把一个数写成0k不也是返回的是lept_number
The text was updated successfully, but these errors were encountered: