Skip to content

Commit

Permalink
assert that file is written by FLUSH
Browse files Browse the repository at this point in the history
  • Loading branch information
uvlad7 committed Oct 2, 2024
1 parent c238c07 commit 14852c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/tc_curl_easy_cookielist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def test_setopt_cookielist_command_flush
# trick to actually set CURLOPT_COOKIEJAR
easy.enable_cookies = true
easy.perform
assert !File.exist?(cookiejar)
easy.setopt(Curl::CURLOPT_COOKIELIST, 'FLUSH')
expected_cookiejar = <<~COOKIEJAR
# Netscape HTTP Cookie File
Expand Down

0 comments on commit 14852c7

Please sign in to comment.