Skip to content

Commit 1761f3f

Browse files
st0012peterzhu2118
authored andcommitted
Move top-level tests to better locations
1 parent 90da85e commit 1761f3f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ end
3737

3838
desc "Run all debugger console related tests"
3939
Rake::TestTask.new(:test_console) do |t|
40-
t.test_files = FileList["test/console/*_test.rb", "test/*_test.rb"]
40+
t.test_files = FileList["test/console/*_test.rb", "test/support/*_test.rb"]
4141
end
4242

4343
desc "Run all debugger protocols (CAP & DAP) related tests"

test/client_test.rb test/console/client_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require_relative 'support/console_test_case'
3+
require_relative '../support/console_test_case'
44
require 'stringio'
55

66
module DEBUGGER__

test/color_test.rb test/console/color_test.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

3-
require_relative '../lib/debug/color'
4-
require_relative '../lib/debug/config'
3+
require_relative '../../lib/debug/color'
4+
require_relative '../../lib/debug/config'
55
require 'test/unit'
66
require 'test/unit/rr'
77

test/assertion_helper_test.rb test/support/assertions_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require_relative 'support/console_test_case'
3+
require_relative 'console_test_case'
44

55
module DEBUGGER__
66
class AssertLineTextTest < ConsoleTestCase

test/test_utils_test.rb test/support/test_case_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require_relative 'support/console_test_case'
3+
require_relative 'console_test_case'
44

55
module DEBUGGER__
66
class PseudoTerminalTest < ConsoleTestCase

0 commit comments

Comments
 (0)