Skip to content

Commit 9b313ad

Browse files
Fix linter
1 parent b40888d commit 9b313ad

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ruby/min_max_dc.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
require 'test/unit/assertions'
1+
# frozen_string_literal: true
2+
3+
require "test/unit/assertions"
24
include Test::Unit::Assertions
35

46
def min_max_dc(vector, start_index, end_index)
@@ -19,4 +21,4 @@ def min_max_dc(vector, start_index, end_index)
1921
assert_equal([1, 5], min_max_dc([1, 2, 3, 4, 5], 0, 4))
2022
assert_equal([14, 55], min_max_dc([13, 55, 42, 14, 15], 1, 3))
2123
assert_equal([13, 13], min_max_dc([13, 55, 42, 14, 15], 0, 0))
22-
assert_equal([14, 15], min_max_dc([13, 55, 42, 14, 15], 3, 4))
24+
assert_equal([14, 15], min_max_dc([13, 55, 42, 14, 15], 3, 4))

0 commit comments

Comments
 (0)