Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions ruby/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,3 @@ plugins:
AllCops:
TargetRubyVersion: 4.0
NewCops: enable

# Test directories live under each sub-app (e.g. fizzbuzz/test/) and are not
# matched by the default top-level `test/**/*` glob, so list them here.
Style/Documentation:
Exclude:
- '**/test/**/*'
1 change: 1 addition & 0 deletions ruby/calculator_cli_app/test/application_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
require_relative '../src/application'

module CalculatorCliApp
# Tests the calculator CLI application entry point.
class ApplicationTest < Minitest::Test
def setup
@argv = ['foo', 4]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require 'minitest/autorun'
require_relative '../../src/queries/calculation_query'

# Tests the query that performs the arithmetic for the calculator CLI app.
class CalculationQueryTest < Minitest::Test
def setup
@calculation_query = ::Queries::CalculationQuery.new('foo')
Expand Down
1 change: 1 addition & 0 deletions ruby/fibonacci_sequence/test/application_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require 'minitest/autorun'
require_relative '../src/application'

# Tests the Fibonacci sequence generator.
class ApplicationTest < Minitest::Test
def test_fibonacci_from_zero
assert_equal(
Expand Down
1 change: 1 addition & 0 deletions ruby/fizzbuzz/test/application_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require 'minitest/autorun'
require_relative '../src/application'

# Tests every FizzBuzz implementation variant.
class ApplicationTest < Minitest::Test
def test_fizzbuzz_in_if
assert_fizzbuzz_sequence(:fizzbuzz_in_if)
Expand Down
2 changes: 2 additions & 0 deletions ruby/letter_matching_inspection/test/application_test.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# frozen_string_literal: true
# rbs_inline: enabled

require 'minitest/autorun'
require_relative '../src/application'

module LetterMatchingInspection
# Tests the letter-matching inspection application.
class ApplicationTest < Minitest::Test
def test_exactly_equal_size_and_included
assert ::LetterMatchingInspection::Application.exactly_equal_size_and_included?(source: 'hogefoobar',
Expand Down
1 change: 1 addition & 0 deletions ruby/nabeatsu/test/application_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require 'minitest/autorun'
require_relative '../src/application'

# Tests every Nabeatsu implementation variant.
class ApplicationTest < Minitest::Test
def test_go_crazy_in_if_statement
1.upto(40).each do |num|
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Generated from calculator_cli_app/test/application_test.rb with RBS::Inline

module CalculatorCliApp
# Tests the calculator CLI application entry point.
class ApplicationTest < Minitest::Test
def setup: () -> untyped

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated from calculator_cli_app/test/queries/calculation_query_test.rb with RBS::Inline

# Tests the query that performs the arithmetic for the calculator CLI app.
class CalculationQueryTest < Minitest::Test
def setup: () -> untyped

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated from fibonacci_sequence/test/application_test.rb with RBS::Inline

# Tests the Fibonacci sequence generator.
class ApplicationTest < Minitest::Test
def test_fibonacci_from_zero: () -> untyped

Expand Down
1 change: 1 addition & 0 deletions ruby/sig/generated/fizzbuzz/test/application_test.rbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated from fizzbuzz/test/application_test.rb with RBS::Inline

# Tests every FizzBuzz implementation variant.
class ApplicationTest < Minitest::Test
def test_fizzbuzz_in_if: () -> untyped

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Generated from letter_matching_inspection/test/application_test.rb with RBS::Inline

module LetterMatchingInspection
# Tests the letter-matching inspection application.
class ApplicationTest < Minitest::Test
def test_exactly_equal_size_and_included: () -> untyped

def test_partly_equal_size_and_included: () -> untyped

def test_not_equal_size_and_included: () -> untyped
end
end
1 change: 1 addition & 0 deletions ruby/sig/generated/nabeatsu/test/application_test.rbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated from nabeatsu/test/application_test.rb with RBS::Inline

# Tests every Nabeatsu implementation variant.
class ApplicationTest < Minitest::Test
def test_go_crazy_in_if_statement: () -> untyped

Expand Down