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.98 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.97 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.96 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.95 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.94 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.93 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.92 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.91 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.90 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.89 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.88 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.87 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.86 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.85 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.84 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.83 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.82 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.81 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.80 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.79 tracks/ruby/test/generator/git_command_test.rb