Skip to content

Commit 0cd6b9e

Browse files
committed
Set @comment of SpecTag to fix warning when reading it
1 parent ce91590 commit 0cd6b9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/truffleruby.mspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ if i = ARGV.index('slow') and ARGV[i-1] == '--excl-tag' and MSpecScript.child_pr
163163
if MSpec.current and state = MSpec.current.state # an example is running
164164
tag = SpecTag.new
165165
tag.tag = 'slow'
166+
tag.comment = nil
166167
tag.description = "#{state.describe} #{state.it}"
167168
if MSpec.write_tag(tag)
168169
STDERR.puts "\nAdded slow tag for #{tag.description}"

0 commit comments

Comments
 (0)