Sha256: 8ec635a148c9272fabc4debc658e4b179f41ff33bbcda081142d3b9e6301d956

Contents?: true

Size: 256 Bytes

Versions: 339

Compression:

Stored size: 256 Bytes

Contents

require_relative '../test_helper'

module Generator
  class GitCommandTest < Minitest::Test
    def test_abbreviated_commit_hash
      assert_match(/^[0-9a-f]{7,}$/, GitCommand.abbreviated_commit_hash('./.git', 'test/generator_test.rb'))
    end
  end
end

Version data entries

339 entries across 339 versions & 1 rubygems

Version Path
trackler-2.2.1.139 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.138 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.137 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.136 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.135 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.134 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.133 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.132 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.131 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.130 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.129 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.128 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.127 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.126 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.125 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.124 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.123 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.122 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.121 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.120 tracks/ruby/test/generator/git_command_test.rb