Skip to content

Commit

Permalink
Remove unused variable in DateTime.#parse_with_mock_date
Browse files Browse the repository at this point in the history
  • Loading branch information
nard-tech authored and joshuacronemeyer committed Aug 10, 2023
1 parent d445455 commit f97d22e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/timecop/time_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ def now_with_mock_time
alias_method :now, :now_with_mock_time

def parse_with_mock_date(*args)
date_hash = Date._parse(*args)
parsed_date = parse_without_mock_date(*args)
return parsed_date unless mocked_time_stack_item
date_hash = DateTime._parse(*args)
Expand Down

0 comments on commit f97d22e

Please sign in to comment.