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

Bug: Hardcoding doesn't account for 0 deaths #65

Open
tandonsumi opened this issue Sep 25, 2021 · 0 comments
Open

Bug: Hardcoding doesn't account for 0 deaths #65

tandonsumi opened this issue Sep 25, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tandonsumi
Copy link

Describe the bug
The code doesn't account for zero deaths. The text reads - Sadly 0 patients have died.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://coronaclusters.in/uttar-pradesh/noida'
  2. Read text '17 people are so far affected in Noida, Uttar-pradesh by novel coronavirus covid-19. 0 out of 17 have recovered. Sadly, 0 patients have died due to coronavirus in Noida, Uttar-pradesh. 17 patients are still in hospital and recovering. '

Expected behavior
Just remove 'Sadly,'. Bo need to be sad on the number 0 deaths. Else plan for it. The good news is there are 0 deaths...

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot_2021-09-25-10-00-50-02

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]

Smartphone (please complete the following information):

  • Device: Real me

Additional context
Condition is there are 0 deaths and that's why the text doesn't match the text.

@tandonsumi tandonsumi added the bug Something isn't working label Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants