Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Increase readability for test fail line #6943

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/tutorial/step_02.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ To run the test, do the following:
<tr ng-repeat="i in [0, 1, 2, 3, 4, 5, 6, 7]"><td>{{i+1}}</td></tr>
</table>

* Make the unit test fail by changing the `toBe(3)` statement to `toBe(4)`.
* Make the unit test fail by changing the number in the `expect(scope.phones.length).toBe(3)` statement.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really think this is more clear, maybe "by changing the expect(scope.phones.length).toBe(3) statement to use toBe(4)" would be better



# Summary
Expand Down