public
Fork of mojombo/grit
Description: Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
Homepage: http://grit.rubyforge.org/
Clone URL: git://github.com/technoweenie/grit.git
fix tests on other machines
tom (author)
Tue Nov 20 17:27:42 -0800 2007
commit  80f136f500dfdb8c3e8abf4ae716f875f0a1b57f
tree    3fffd0fce0655433c945e6bdc5e9f338b087b211
parent  44f82e5ac93ba322161019dce44b78c5bd1fdce2
...
1
2
3
 
 
4
5
6
...
1
 
 
2
3
4
5
6
0
@@ -1,6 +1,6 @@
0
 grit
0
- by Tom Preston-Werner
0
- grit.rubyforge.org
0
+ by Tom Preston-Werner, Chris Wanstrath
0
+ http://grit.rubyforge.org
0
 
0
 == DESCRIPTION:
0
 
...
16
17
18
19
 
20
21
22
...
16
17
18
 
19
20
21
22
0
@@ -16,6 +16,6 @@ class TestGit < Test::Unit::TestCase
0
     assert_equal ["--max-count"], @git.transform_options({:max_count => true})
0
     assert_equal ["--max-count=5"], @git.transform_options({:max_count => 5})
0
     
0
- assert_equal ["-t", "-s"], @git.transform_options({:s => true, :t => true})
0
+ assert_equal ["-s", "-t"], @git.transform_options({:s => true, :t => true}).sort
0
   end
0
 end
0
\ No newline at end of file
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
...
1
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -1,17 +1,17 @@
0
 require File.dirname(__FILE__) + '/helper'
0
 
0
-class TestTreeRecursion < Test::Unit::TestCase
0
- def test_
0
- r = Repo.new("/Users/tom/dev/god")
0
- t = r.tree("HEAD")
0
-
0
- recurse(t)
0
- end
0
-
0
- def recurse(tree, indent = "")
0
- tree.contents.each do |c|
0
- # puts "#{indent}#{c.name} (#{c.id})"
0
- recurse(c, indent + " ") if c.kind_of?(Tree)
0
- end
0
- end
0
-end
0
\ No newline at end of file
0
+# class TestTreeRecursion < Test::Unit::TestCase
0
+# def test_
0
+# r = Repo.new("/Users/tom/dev/god")
0
+# t = r.tree("HEAD")
0
+#
0
+# recurse(t)
0
+# end
0
+#
0
+# def recurse(tree, indent = "")
0
+# tree.contents.each do |c|
0
+# # puts "#{indent}#{c.name} (#{c.id})"
0
+# recurse(c, indent + " ") if c.kind_of?(Tree)
0
+# end
0
+# end
0
+# end
0
\ No newline at end of file
...
22
23
24
25
 
26
27
28
...
22
23
24
 
25
26
27
28
0
@@ -22,7 +22,7 @@ class TestRepo < Test::Unit::TestCase
0
   # descriptions
0
   
0
   def test_description
0
- assert_equal "Grit is a ruby library for interfacing with git repositories.", @r.description
0
+ assert_equal "Unnamed repository; edit this file to name it for gitweb.", @r.description
0
   end
0
   
0
   # heads

Comments

    No one has commented yet.