Skip to content

Commit

Permalink
fix(test_todo_parser): tests for 'text', removes 'move'
Browse files Browse the repository at this point in the history
  • Loading branch information
netpoe committed Dec 28, 2024
1 parent 7cfb7c0 commit c13ebee
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions tests/test_todo_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def test_handlebars_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'handlebars'), 2)

def test_text_issues(self):
# Includes 2 tests for Org, 2 tests for GAP, 2 tests for Visual Basic, 2 tests for Agda, 4 tests for Sol.
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'text'), 12)
# Includes 2 tests for Org, 2 tests for GAP, 2 tests for Visual Basic, 2 tests for Agda, 4 tests for Sol, 4 tests for Move
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'text'), 16)

def test_scss_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'scss'), 2)
Expand Down Expand Up @@ -127,10 +127,6 @@ def test_liquid_issues(self):

def test_lua_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'lua'), 2)

def test_move_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'move'), 4)


class CustomOptionsTest(unittest.TestCase):
def setUp(self):
Expand Down Expand Up @@ -269,8 +265,8 @@ def test_handlebars_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'handlebars'), 2)

def test_text_issues(self):
# Includes 2 tests for Org, 2 tests for GAP, 2 tests for Visual Basic, 2 tests for Agda, 4 tests for Sol.
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'text'), 12)
# Includes 2 tests for Org, 2 tests for GAP, 2 tests for Visual Basic, 2 tests for Agda, 4 tests for Sol, 4 tests for Move
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'text'), 16)

def test_scss_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'scss'), 2)
Expand Down Expand Up @@ -307,9 +303,6 @@ def test_liquid_issues(self):

def test_lua_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'lua'), 2)

def test_move_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'move'), 4)

class IgnorePatternTest(unittest.TestCase):
def test_single_ignore(self):
Expand Down

0 comments on commit c13ebee

Please sign in to comment.