Change for second test case (#34785)
Original: "Your code should create a method in Bird called getWeight that returns the weight". New: "Your code should create a method in Bird called getWeight that returns the weight 15". Since 15 is the only current passing value I feel it should be plainly stated instead in the test case.
This commit is contained in:
@ -16,7 +16,7 @@ Here <code>getHachedEggCount</code> is a privileged method, because it has acces
|
||||
|
||||
## Instructions
|
||||
<section id='instructions'>
|
||||
Change how <code>weight</code> is declared in the <code>Bird</code> function so it is a private variable. Then, create a method <code>getWeight</code> that returns the value of <code>weight</code>.
|
||||
Change how <code>weight</code> is declared in the <code>Bird</code> function so it is a private variable. Then, create a method <code>getWeight</code> that returns the value of <code>weight</code> 15.
|
||||
</section>
|
||||
|
||||
## Tests
|
||||
|
Reference in New Issue
Block a user