Sha256: 375ac936d333655a321a323e17eb8fea16e408eca4382eab68c5f399c3dd4056
Contents?: true
Size: 1.3 KB
Versions: 5
Compression:
Stored size: 1.3 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 (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 10</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_blame_tree</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-identifier">last_commit_sha</span> = <span class="ruby-identifier">tree</span>[<span class="ruby-value str">'History.txt'</span>] <span class="ruby-identifier">assert_equal</span> <span class="ruby-identifier">last_commit_sha</span>, <span class="ruby-value str">'7bcc0ee821cdd133d8a53e8e7173a334fef448aa'</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
5 entries across 5 versions & 1 rubygems