Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
uvlad7 committed Oct 2, 2024
1 parent 14852c7 commit 2aaaedf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/tc_curl_easy_cookielist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ def test_setopt_cookielist_command_reload
assert !File.exist?(cookiefile)
begin
cookielist = [
# Won't be updated, added intead
# Won't be updated, added instead
".localhost\tTRUE\t/\tFALSE\t#{expires_file.to_time.to_i}\tpermanent\t84",
".localhost\tTRUE\t/\tFALSE\t#{expires_file.to_time.to_i}\tpermanent_file\t84",
# Won't be updated, added intead
# Won't be updated, added instead
".localhost\tTRUE\t/\tFALSE\t0\tsession\t840",
".localhost\tTRUE\t/\tFALSE\t0\tsession_file\t840",
'',
Expand All @@ -184,7 +184,7 @@ def test_setopt_cookielist_command_reload
]
assert_equal expected_cookielist, easy.cookielist
easy.perform
# Duplicates are not removed
# Be careful, duplicates are not removed
assert_equal 'permanent_file=84; session_file=840; permanent=84; session=840; permanent=42; session=420', easy.body_str
ensure
File.unlink(cookiefile) if File.exist?(cookiefile)
Expand Down

0 comments on commit 2aaaedf

Please sign in to comment.