Skip to content

Commit b6f79bc

Browse files
authored
Updating Actionables for the concept exercise Need for Speed (#2730)
1 parent 832c703 commit b6f79bc

File tree

1 file changed

+1
-0
lines changed
  • exercises/concept/need-for-speed/.meta

1 file changed

+1
-0
lines changed

exercises/concept/need-for-speed/.meta/design.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
This exercise could benefit from the following rules in the [analyzer]:
2828

2929
- `actionable`: If the student used a loop in the `tryFinishTrack()` method, encourage it to explore a different approach.
30+
- `actionable`: If the student used a conditional statement like `if/else` or ternary expressions in the `batteryDrained` method, encourage it to explore a different approach.
3031

3132
If the solution does not receive any of the above feedback, it must be exemplar.
3233
Leave a `celebratory` comment to celebrate the success!

0 commit comments

Comments
 (0)