Sha256: 6c33ce8bbc972380eda52e8dbb20dafd3052663a21f011cf7620603b9900a6e1
Contents?: true
Size: 425 Bytes
Versions: 10
Compression:
Stored size: 425 Bytes
Contents
#!/usr/bin/env ruby require 'rd_test_base' class RDCatchpointTest < RDTestBase def test_catchpoint_basics create_socket ['sleep 0.01', '5/0', 'sleep 0.01'] run_to_line(1) send_next assert_suspension(@test_path, 2, 1) send_ruby('catch ZeroDivisionError') assert_catchpoint_set('ZeroDivisionError') send_next assert_exception(@test_path, 2, 'ZeroDivisionError') send_next end end
Version data entries
10 entries across 10 versions & 2 rubygems