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.180 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.179 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.178 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.177 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.176 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.175 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.174 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.173 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.172 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.171 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.170 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.169 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.167 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.166 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.165 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.164 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.163 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.162 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.161 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.160 tracks/ruby/test/generator/git_command_test.rb