Sha256: d5b92c3990f6cae771350d3e55b31b99efc6397165e240202df63095c3e34098
Contents?: true
Size: 1.68 KB
Versions: 5
Compression:
Stored size: 1.68 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>test_blame_tree_path (TestBlameTree)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File test/test_blame_tree.rb, line 17</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_blame_tree_path</span> <span class="ruby-identifier">commit</span> = <span class="ruby-value str">'2d3acf90f35989df8f262dc50beadc4ee3ae1560'</span> <span class="ruby-identifier">tree</span> = <span class="ruby-ivar">@git</span>.<span class="ruby-identifier">blame_tree</span>(<span class="ruby-identifier">commit</span>, <span class="ruby-value str">'lib'</span>) <span class="ruby-identifier">last_commit_sha</span> = <span class="ruby-identifier">tree</span>[<span class="ruby-value str">'lib/grit.rb'</span>] <span class="ruby-identifier">assert_equal</span> <span class="ruby-identifier">last_commit_sha</span>, <span class="ruby-value str">'5a0943123f6872e75a9b1dd0b6519dd42a186fda'</span> <span class="ruby-identifier">last_commit_sha</span> = <span class="ruby-identifier">tree</span>[<span class="ruby-value str">'lib/grit'</span>] <span class="ruby-identifier">assert_equal</span> <span class="ruby-identifier">last_commit_sha</span>, <span class="ruby-value str">'2d3acf90f35989df8f262dc50beadc4ee3ae1560'</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
5 entries across 5 versions & 1 rubygems