diff options
Diffstat (limited to 'dev-lang/crystal/files/crystal-0.27.0-max-age-0-test.patch')
-rw-r--r-- | dev-lang/crystal/files/crystal-0.27.0-max-age-0-test.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/dev-lang/crystal/files/crystal-0.27.0-max-age-0-test.patch b/dev-lang/crystal/files/crystal-0.27.0-max-age-0-test.patch deleted file mode 100644 index d78927ab3eef..000000000000 --- a/dev-lang/crystal/files/crystal-0.27.0-max-age-0-test.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/spec/std/http/cookie_spec.cr -+++ b/spec/std/http/cookie_spec.cr -@@ -150,7 +150,10 @@ module HTTP - parse_set_cookie("a=1; domain=127.0.0.1; path=/; HttpOnly").domain.should eq "127.0.0.1" - end - -- it "parse max-age as seconds from Time.now" do -+ # unstable test: sometimes 'now - max-age=0' == 0.0: -+ # Failure/Error: delta.should be > 0.seconds -+ # Expected 00:00:00 to be > 00:00:00 -+ pending "parse max-age as seconds from Time.now" do - cookie = parse_set_cookie("a=1; max-age=10") - delta = cookie.expires.not_nil! - Time.now - delta.should be > 9.seconds |