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.78 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.77 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.76 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.75 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.74 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.73 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.72 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.71 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.70 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.69 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.68 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.67 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.66 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.65 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.64 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.63 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.62 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.61 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.60 tracks/ruby/test/generator/git_command_test.rb
trackler-2.2.1.59 tracks/ruby/test/generator/git_command_test.rb