Skip to content

Commit 6cf0f1b

Browse files
cmccandlessBethanyG
authored andcommitted
error message cleanup
1 parent dba325a commit 6cf0f1b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

exercises/concept/chaitanas-colossal-coaster/list_methods_test.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_find_my_friend_start_of_queue(self):
4343
friend_name="Natasha",
4444
),
4545
0,
46-
msg="The Index of the friend to find is incorrect",
46+
msg="The index of the friend to find is incorrect",
4747
)
4848

4949
def test_find_my_friend_middle_of_queue(self):
@@ -53,7 +53,7 @@ def test_find_my_friend_middle_of_queue(self):
5353
friend_name="Steve",
5454
),
5555
1,
56-
msg="The Index of the friend to find is incorrect",
56+
msg="The index of the friend to find is incorrect",
5757
)
5858

5959
def test_find_my_friend_end_of_queue(self):
@@ -63,7 +63,7 @@ def test_find_my_friend_end_of_queue(self):
6363
friend_name="Rocket",
6464
),
6565
4,
66-
msg="The Index of the friend to find is incorrect",
66+
msg="The index of the friend to find is incorrect",
6767
)
6868

6969
def test_add_me_with_my_friends_start_of_queue(self):
@@ -74,7 +74,7 @@ def test_add_me_with_my_friends_start_of_queue(self):
7474
person_name="Bucky",
7575
),
7676
["Bucky", "Natasha", "Steve", "Tchalla", "Wanda", "Rocket"],
77-
msg="The People added location were incorrect",
77+
msg="The person was added to the wrong location in the queue or was not added at all",
7878
)
7979

8080
def test_add_me_with_my_friends_middle_of_queue(self):
@@ -85,7 +85,7 @@ def test_add_me_with_my_friends_middle_of_queue(self):
8585
person_name="Bucky",
8686
),
8787
["Natasha", "Bucky", "Steve", "Tchalla", "Wanda", "Rocket"],
88-
msg="The People added location were incorrect",
88+
msg="The person was added to the wrong location in the queue or was not added at all",
8989
)
9090

9191
def test_add_me_with_my_friends_end_of_queue(self):
@@ -96,7 +96,7 @@ def test_add_me_with_my_friends_end_of_queue(self):
9696
person_name="Bucky",
9797
),
9898
["Natasha", "Steve", "Tchalla", "Wanda", "Rocket", "Bucky"],
99-
msg="The People added location were incorrect",
99+
msg="The person was added to the wrong location in the queue or was not added at all",
100100
)
101101

102102
def test_remove_the_mean_person_middle_of_queue(self):
@@ -164,12 +164,12 @@ def test_remove_the_last_person(self):
164164
queue=["Natasha", "Steve", "Ultron", "Natasha", "Rocket"]
165165
),
166166
"Rocket",
167-
msg="The last person is not removed properly",
167+
msg="The last person was not removed properly",
168168
)
169169

170170
def test_sorted_names(self):
171171
self.assertListEqual(
172172
sorted_names(queue=["Steve", "Ultron", "Natasha", "Rocket"]),
173173
["Natasha", "Rocket", "Steve", "Ultron"],
174-
msg="The Queue is not properly sorted",
174+
msg="The queue was not properly sorted",
175175
)

0 commit comments

Comments
 (0)