Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fixed issue #83 #84

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

Merged
clearloop merged 4 commits into clearloop:master from manank20:master
Jul 30, 2022
Merged

fixed issue #83 #84

clearloop merged 4 commits into clearloop:master from manank20:master
Jul 30, 2022

Conversation

Copy link
Contributor

@manank20 manank20 commented Jul 30, 2022

fixes #83
also fixed issue where the created test case file (.test.dat) was empty.
test command works now, but panics if the test fail.

error on failing:-
[INFO leetcode_cli::plugins::leetcode] Sending code to judge... thread 'main' panicked at 'submit succcessfully, parse question_id to i32 failed: ParseIntError { kind: Empty }', src/cache/models.rs:317:34 note: run with "RUST_BACKTRACE=1" environment variable to display a backtrace

can't seem to figure out how to fix this.

clearloop reacted with heart emoji
Copy link
Owner

@clearloop clearloop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for you PR! but please keep the usage of test_flag, and do not use unwrap() inside the code

@clearloop clearloop merged commit d80ccc8 into clearloop:master Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@clearloop clearloop clearloop approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

leetcode test error: invalid type: sequence, expected a string at line 1 column 162

AltStyle によって変換されたページ (->オリジナル) /