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

Refactor and test cases #11

Open
wants to merge 2 commits into
base: solution-add-comments
Choose a base branch
from

Conversation

utkarz18
Copy link

There was a bug where the first comment count was set to zero and then the counter account was being incremented.
Fix: Update the counter account and then use its value for updating the comment count.

All the test cases were bascially not checking anything as they only had expect () with equal()

Added expect statements in the test case for adding a comment.

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

Successfully merging this pull request may close these issues.

1 participant