@@ -34,7 +34,7 @@ def test_backtrace_prints_c_method_frame
34
34
type 'c'
35
35
type 'bt'
36
36
assert_line_text ( /\[ C\] Integer#times/ )
37
- type 'q !'
37
+ type 'kill !'
38
38
end
39
39
end
40
40
@@ -44,7 +44,7 @@ def test_backtrace_prints_the_return_value
44
44
type 'c'
45
45
type 'bt'
46
46
assert_line_text ( /Foo#first_call .* #=> 30/ )
47
- type 'q !'
47
+ type 'kill !'
48
48
end
49
49
end
50
50
@@ -54,7 +54,7 @@ def test_backtrace_prints_method_arguments
54
54
type 'c'
55
55
type 'bt'
56
56
assert_line_text ( /Foo#second_call\( num=20\) / )
57
- type 'q !'
57
+ type 'kill !'
58
58
end
59
59
end
60
60
@@ -64,7 +64,7 @@ def test_backtrace_prints_block_arguments
64
64
type 'c'
65
65
type 'bt'
66
66
assert_line_text ( /block {\| ten=10\| }/ )
67
- type 'q !'
67
+ type 'kill !'
68
68
end
69
69
end
70
70
@@ -76,7 +76,7 @@ def test_backtrace_prints_a_given_number_of_traces
76
76
assert_line_text ( /Foo#third_call_with_block/ )
77
77
assert_line_text ( /Foo#second_call/ )
78
78
assert_no_line_text ( /Foo#first_call/ )
79
- type 'q !'
79
+ type 'kill !'
80
80
end
81
81
end
82
82
@@ -88,7 +88,7 @@ def test_backtrace_filters_traces_with_location
88
88
assert_line_text ( /Foo#second_call/ )
89
89
assert_line_text ( /Foo#first_call/ )
90
90
assert_no_line_text ( /Foo#third_call_with_block/ )
91
- type 'q !'
91
+ type 'kill !'
92
92
end
93
93
end
94
94
@@ -100,7 +100,7 @@ def test_backtrace_filters_traces_with_method_name
100
100
assert_line_text ( /Foo#second_call/ )
101
101
assert_no_line_text ( /Foo#first_call/ )
102
102
assert_no_line_text ( /Foo#third_call_with_block/ )
103
- type 'q !'
103
+ type 'kill !'
104
104
end
105
105
end
106
106
@@ -111,7 +111,7 @@ def test_backtrace_takes_both_number_and_pattern
111
111
type 'bt 1 /rb:\d\z/'
112
112
assert_line_text ( /Foo#second_call/ )
113
113
assert_no_line_text ( /Foo#first_call/ )
114
- type 'q !'
114
+ type 'kill !'
115
115
end
116
116
end
117
117
@@ -166,7 +166,7 @@ def test_backtrace_prints_block_label_correctly
166
166
type 'c'
167
167
type 'bt'
168
168
assert_line_text ( /block in <main> at/ )
169
- type 'q !'
169
+ type 'kill !'
170
170
end
171
171
end
172
172
@@ -176,7 +176,7 @@ def test_backtrace_prints_nested_block_label_correctly
176
176
type 'c'
177
177
type 'bt'
178
178
assert_line_text ( /block in <main> \( 2 levels\) at/ )
179
- type 'q !'
179
+ type 'kill !'
180
180
end
181
181
end
182
182
end
0 commit comments