File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def test_analyze_command_with_json_flag():
2929 # Verify the values match expected results
3030 assert output ["file_name" ] == os .path .basename (SAMPLE_FILE_PATH )
3131 assert output ["line_count" ] == 195
32- assert output ["comment_line_count" ] == 34
32+ assert output ["comment_line_count" ] == 33
3333 assert output ["function_count" ] == 15
3434
3535def test_analyze_command_with_all_and_json_flags ():
@@ -45,7 +45,7 @@ def test_analyze_command_with_all_and_json_flags():
4545
4646 # Verify the values match expected results
4747 assert output ["line_count" ] == 195
48- assert output ["comment_line_count" ] == 34
48+ assert output ["comment_line_count" ] == 33
4949 assert output ["function_count" ] == 15
5050
5151def test_analyze_command_with_nonexistent_file ():
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def test_analyze_command_with_json_flag():
2929 # Verify the values match expected results
3030 assert output ["file_name" ] == os .path .basename (SAMPLE_FILE_PATH )
3131 assert output ["line_count" ] == 153
32- assert output ["comment_line_count" ] == 22
32+ assert output ["comment_line_count" ] == 21
3333 assert output ["function_count" ] == 18
3434
3535def test_analyze_command_with_all_and_json_flags ():
@@ -45,7 +45,7 @@ def test_analyze_command_with_all_and_json_flags():
4545
4646 # Verify the values match expected results
4747 assert output ["line_count" ] == 153
48- assert output ["comment_line_count" ] == 22
48+ assert output ["comment_line_count" ] == 21
4949 assert output ["function_count" ] == 18
5050
5151def test_analyze_command_with_nonexistent_file ():
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def test_analyze_command_with_json_flag():
2929 # Verify the values match expected results
3030 assert output ["file_name" ] == os .path .basename (SAMPLE_FILE_PATH )
3131 assert output ["line_count" ] == 226
32- assert output ["comment_line_count" ] == 29
32+ assert output ["comment_line_count" ] == 31
3333 assert output ["function_count" ] == 29
3434
3535def test_analyze_command_with_all_and_json_flags ():
@@ -45,7 +45,7 @@ def test_analyze_command_with_all_and_json_flags():
4545
4646 # Verify the values match expected results
4747 assert output ["line_count" ] == 226
48- assert output ["comment_line_count" ] == 29
48+ assert output ["comment_line_count" ] == 31
4949 assert output ["function_count" ] == 29
5050
5151def test_analyze_command_with_nonexistent_file ():
You can’t perform that action at this time.
0 commit comments