File: nested_minitest_tests.rb

package info (click to toggle)
ruby-ruby-lsp 0.26.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,676 kB
  • sloc: ruby: 35,294; javascript: 29; sh: 7; makefile: 4
file content (21 lines) | stat: -rw-r--r-- 294 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
class ParentTest < Minitest::Test
  def test_public; end

  private

  class FirstChildTest < Minitest::Test
    def test_public; end

    public
  end

  def test_private; end

  class SecondChildTest < Minitest::Test
    def test_public; end
  end

  public

  def test_public_again; end
end