Skip to content

Commit

Permalink
[cqfn#238] Add a test for last empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Feb 1, 2024
1 parent bb3f370 commit 438d324
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/test_source_todo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,19 @@ def test_todo_parsing_puzzle_javadoc_with_empty_line
)
end

def test_todo_parsing_puzzle_last_empty_line
check_valid_puzzle(
'
/**
* TODO: #47 task description
* \
',
'3-3',
'task description',
'47'
)
end

def test_todo_colon_parsing_multi_line_random_prefix
check_valid_puzzle(
'
Expand Down

0 comments on commit 438d324

Please sign in to comment.