Browse files

Update test to use 6-character SHA1 for git commits

  • Loading branch information...
1 parent 33a8ed7 commit d8d07ad05a45630285bb2ec34c70f0566178b8a2 @ffmike committed Dec 26, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/source_control/git/log_parser_test.rb
View
4 test/unit/source_control/git/log_parser_test.rb
@@ -43,7 +43,7 @@ class Git::LogParserTest < Test::Unit::TestCase
def test_parse_should_work
expected_revision = Git::Revision.new(
- :number => 'e51d6',
+ :number => 'e51d66',
:author => 'Alexey Verkhovsky <alexey.verkhovsky@gmail.com>',
:time => Time.at(1209921867))
revisions = Git::LogParser.new.parse(SIMPLE_LOG_ENTRY.split("\n"))
@@ -59,7 +59,7 @@ def test_should_split_into_separate_revisions
assert_equal 2, revisions.size
revision = revisions[1]
- assert_equal "5c881", revision.number
+ assert_equal "5c881c", revision.number
assert_equal "renamed \"Unit Test\" target to \"UnitTest\" for developer sanity.\nfixed iphone cruise Rakefile",
revision.message
assert_equal ["iphone/Rakefile | 2 +-",

0 comments on commit d8d07ad

Please sign in to comment.