Skip to content

Commit 7b17494

Browse files
committed
test: the prerelease text has a dash
1 parent 245f61b commit 7b17494

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/commit_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ def setup
492492
@repo.config['core.abbrev'] = 7
493493

494494
prerelease = Rugged.libgit2_prerelease
495+
prerelease = "-#{prerelease}" unless prerelease.empty?
495496
@version_string = "#{Rugged.libgit2_version.join('.')}#{prerelease unless prerelease.empty?}"
496497
end
497498

0 commit comments

Comments
 (0)