Skip to content

Commit

Permalink
Add prefix to id (#302)
Browse files Browse the repository at this point in the history
This will allow us to better manage when ids are coming from us vs just being set in junit.
  • Loading branch information
gnalh authored Jan 15, 2025
1 parent f4d83cd commit 714a55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context-ruby/spec/trunk_spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def description_generated?(example)
def generate_id(example)
if description_generated?(example)
# trunk-ignore(rubocop/Style/SoleNestedConditional)
return "#{example.id}-#{example.location}" if description_generated?(example)
return "trunk:#{example.id}-#{example.location}" if description_generated?(example)
end
nil
end
Expand Down

0 comments on commit 714a55e

Please sign in to comment.