Skip to content

Commit

Permalink
fix finding tests from a top-level group in the matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammjammjamm committed Aug 9, 2024
1 parent 3b60887 commit 7a8192a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/onc_certification_g10_test_kit/tasks/generate_matrix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ def generate_matrix_worksheet # rubocop:disable Metrics/CyclomaticComplexity
matrix_worksheet.change_column_border_color(col, :left, '000000')
column_borders << col

group.tests.each do |test|
column_map[test.short_id] = col
end

group.groups.each do |test_case|
matrix_worksheet.change_column_width(col, 4.2)

Expand All @@ -91,7 +95,6 @@ def generate_matrix_worksheet # rubocop:disable Metrics/CyclomaticComplexity
matrix_worksheet.change_column_border_color(col, :right, '666666')

all_descendant_tests(test_case).each { |test| column_map[test.short_id] = col }

col += 1
end
end
Expand Down

0 comments on commit 7a8192a

Please sign in to comment.