Skip to content

Commit 7abb798

Browse files
committed
2024-08-20 v. 6.5.1.1: updated some tests
1 parent 3431112 commit 7abb798

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

test/easy/test_2243_calculate_digit_sum_of_a_string.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# frozen_string_literal: true
1+
# rubocop:disable Style/FrozenStringLiteralComment, Style/DisableCopsWithinSourceCodeDirective
22

33
require_relative '../test_helper'
44
require_relative '../../lib/easy/2243_calculate_digit_sum_of_a_string'
@@ -9,3 +9,5 @@ def test_default_one = assert_equal('135', digit_sum('11111222223', 3))
99

1010
def test_default_two = assert_equal('000', digit_sum('00000000', 3))
1111
end
12+
13+
# rubocop:enable Style/FrozenStringLiteralComment, Style/DisableCopsWithinSourceCodeDirective

test/easy/test_2259_remove_digit_from_number_to_maximize_result.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# frozen_string_literal: true
1+
# rubocop:disable Style/FrozenStringLiteralComment, Style/DisableCopsWithinSourceCodeDirective
22

33
require_relative '../test_helper'
44
require_relative '../../lib/easy/2259_remove_digit_from_number_to_maximize_result'
@@ -11,3 +11,5 @@ def test_default_two = assert_equal('231', remove_digit('1231', '1'))
1111

1212
def test_default_three = assert_equal('51', remove_digit('551', '5'))
1313
end
14+
15+
# rubocop:enable Style/FrozenStringLiteralComment, Style/DisableCopsWithinSourceCodeDirective

0 commit comments

Comments
 (0)