Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fnhartmann committed Nov 16, 2023
1 parent 0c2d455 commit a7f4d76
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ def test_separated_by_loop_node_4(self, ast_while_in_else):

def test_for_loop_recovery_if_continue_in_while_1(self):
"""
Test for loop recovery if a continue occurs in a while loop and the last definition is a simple binary operation
Test for loop recovery if a continue occurs in a while loop and the last definition is a simple binary operation.
a = 0
while(a < 10) {
Expand Down Expand Up @@ -911,7 +911,7 @@ def test_for_loop_recovery_if_continue_in_while_1(self):

def test_for_loop_recovery_if_continue_in_while_2(self):
"""
Test for loop recovery if a continue occurs in a while loop and the last definition is a contant assignment
Test for loop recovery if a continue occurs in a while loop and the last definition is a constant.
a = 0
while(a < 10) {
Expand Down Expand Up @@ -1167,6 +1167,8 @@ def test_for_loop_recovery_if_continue_in_while_5(self):

def test_for_loop_recovery_if_continue_in_nested_while(self):
"""
Test for loop recovery if a continue occurs in a nested while loop and the last definition is a simple binary operation.
while(a < 5) {
a = a + b
while(b < 10) {
Expand Down Expand Up @@ -1240,7 +1242,7 @@ def test_for_loop_recovery_if_continue_in_nested_while(self):

def test_skip_for_loop_recovery_if_continue_in_while_1(self):
"""
Test skip of for loop recovery if a continue occurs in a while loop, because the continuation instruction is no simple binary operation
Test skip of for loop recovery if a continue occurs in a while loop, because the continuation instruction is no simple binary operation.
a = 0
while(a < 10) {
Expand Down Expand Up @@ -1290,7 +1292,7 @@ def test_skip_for_loop_recovery_if_continue_in_while_1(self):

def test_skip_for_loop_recovery_if_continue_in_while_2(self):
"""
Test skip of for loop recovery if a continue occurs in a while loop, because the last definition is no simple binary operation
Test skip of for loop recovery if a continue occurs in a while loop, because the last definition is no simple binary operation.
a = 0
while(a < 10) {
Expand Down Expand Up @@ -1340,7 +1342,7 @@ def test_skip_for_loop_recovery_if_continue_in_while_2(self):

def test_skip_for_loop_recovery_if_continue_in_while_3(self):
"""
Test skip of for loop recovery if a continue occurs in a while loop, because no last definition exists
Test skip of for loop recovery if a continue occurs in a while loop, because no last definition exists.
a = 0
while(a < 10) {
Expand Down Expand Up @@ -1387,8 +1389,8 @@ def test_skip_for_loop_recovery_if_continue_in_while_3(self):

def test_skip_for_loop_recovery_if_continue_in_while_4(self):
"""
Test skip of for loop recovery if a continue occurs in a while loop, the continuation-statement and the last definition
uses different variables.
Test skip of for loop recovery if a continue occurs in a while loop and the continuation-statement and the last definition
use different variables.
a = 0
while(a < 10){
Expand Down

0 comments on commit a7f4d76

Please sign in to comment.