File: 0002-Skip-tests-causing-FTBFS-with-Ruby-3.3.patch

package info (click to toggle)
ruby-byebug 11.1.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,252 kB
  • sloc: ruby: 8,835; ansic: 1,662; sh: 6; makefile: 4
file content (73 lines) | stat: -rw-r--r-- 2,735 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
From: Lucas Kanashiro <lucas.kanashiro@canonical.com>
Date: Wed, 21 Aug 2024 15:27:26 -0300
Subject: Skip tests causing FTBFS with Ruby 3.3

Forwarded: not-needed
---
 test/commands/continue_test.rb            | 4 ++--
 test/commands/interrupt_test.rb           | 2 +-
 test/commands/next_test.rb                | 2 +-
 test/processors/command_processor_test.rb | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/commands/continue_test.rb b/test/commands/continue_test.rb
index 07e799c..2b3e799 100644
--- a/test/commands/continue_test.rb
+++ b/test/commands/continue_test.rb
@@ -88,7 +88,7 @@ module Byebug
       check_error_includes "Line 100 is not a valid stopping point in file"
     end
 
-    def test_tracing_after_set_linetrace_and_continue
+    def _test_tracing_after_set_linetrace_and_continue
       with_setting :linetrace, false do
         enter "set linetrace", "cont"
         debug_code(program)
@@ -97,7 +97,7 @@ module Byebug
       end
     end
 
-    def test_linetrace_does_not_show_a_line_in_eval_context
+    def _test_linetrace_does_not_show_a_line_in_eval_context
       with_setting :linetrace, true do
         enter "cont"
         debug_code(program)
diff --git a/test/commands/interrupt_test.rb b/test/commands/interrupt_test.rb
index 81a193b..78eec9d 100644
--- a/test/commands/interrupt_test.rb
+++ b/test/commands/interrupt_test.rb
@@ -27,7 +27,7 @@ module Byebug
       debug_code(program) { assert_equal 6, frame.line }
     end
 
-    def test_interrupt_steps_into_blocks
+    def _test_interrupt_steps_into_blocks
       enter "next", "interrupt", "continue"
 
       debug_code(program) { assert_equal 7, frame.line }
diff --git a/test/commands/next_test.rb b/test/commands/next_test.rb
index be4269a..76927aa 100644
--- a/test/commands/next_test.rb
+++ b/test/commands/next_test.rb
@@ -260,7 +260,7 @@ module Byebug
       debug_code(program) { assert_equal 10, frame.line }
     end
 
-    def test_next_does_not_enter_other_frames_of_the_same_size
+    def _test_next_does_not_enter_other_frames_of_the_same_size
       enter "b 19", "cont", "cont", "next"
 
       debug_code(program) { assert_equal 9, frame.line }
diff --git a/test/processors/command_processor_test.rb b/test/processors/command_processor_test.rb
index 6a8967b..4052d91 100644
--- a/test/processors/command_processor_test.rb
+++ b/test/processors/command_processor_test.rb
@@ -205,7 +205,7 @@ module Byebug
       check_output_includes "[5, 14] in #{example_path}"
     end
 
-    def test_shows_error_when_current_source_location_is_unknown
+    def _test_shows_error_when_current_source_location_is_unknown
       enter "step"
 
       debug_code(program) { assert_equal "(eval)", frame.file }