mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): fix the health setter test (#65385)
This commit is contained in:
+4
@@ -260,6 +260,10 @@ You should set `self._health` to the value given to the `health` setter when the
|
||||
assert char.health == 95
|
||||
char.health = 1
|
||||
assert char.health == 1
|
||||
char.health = 0
|
||||
assert char.health == 0
|
||||
char.health = 100
|
||||
assert char.health == 100
|
||||
`)})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user