Project

General

Profile

Actions

Bug #13652

closed

Ruby 2.3.4 does not catch Argument error when comparing DateTime with String

Bug #13652: Ruby 2.3.4 does not catch Argument error when comparing DateTime with String

Added by derekzwy (Wenyuan Zhang) over 8 years ago. Updated about 8 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:81657]

Description

Ruby 2.3.4 does not catch Argument error when comparing DateTime with String, while Ruby 2.1.5 catches it and return false.


Files

ruby 2.3.4.png (168 KB) ruby 2.3.4.png derekzwy (Wenyuan Zhang), 06/13/2017 02:59 AM
ruby 2.1.5.png (133 KB) ruby 2.1.5.png derekzwy (Wenyuan Zhang), 06/13/2017 02:59 AM
Actions

Also available in: PDF Atom