Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update test to use 6-character SHA1 for git commits

  • Loading branch information...
commit d8d07ad05a45630285bb2ec34c70f0566178b8a2 1 parent 33a8ed7
Mike Gunderloy authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 test/unit/source_control/git/log_parser_test.rb
4 test/unit/source_control/git/log_parser_test.rb
@@ -43,7 +43,7 @@ class Git::LogParserTest < Test::Unit::TestCase
43 43
44 44 def test_parse_should_work
45 45 expected_revision = Git::Revision.new(
46   - :number => 'e51d6',
  46 + :number => 'e51d66',
47 47 :author => 'Alexey Verkhovsky <alexey.verkhovsky@gmail.com>',
48 48 :time => Time.at(1209921867))
49 49 revisions = Git::LogParser.new.parse(SIMPLE_LOG_ENTRY.split("\n"))
@@ -59,7 +59,7 @@ def test_should_split_into_separate_revisions
59 59 assert_equal 2, revisions.size
60 60
61 61 revision = revisions[1]
62   - assert_equal "5c881", revision.number
  62 + assert_equal "5c881c", revision.number
63 63 assert_equal "renamed \"Unit Test\" target to \"UnitTest\" for developer sanity.\nfixed iphone cruise Rakefile",
64 64 revision.message
65 65 assert_equal ["iphone/Rakefile | 2 +-",

0 comments on commit d8d07ad

Please sign in to comment.
Something went wrong with that request. Please try again.