Sha256: 215e52dbe07489f67ceb09b81f3cdf2036491ae1eb8dc91635324b8dc8c19125

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 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_diff_single (TestRubyGit)</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_rubygit.rb, line 43</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_diff_single</span>
    <span class="ruby-identifier">commit1</span> = <span class="ruby-value str">'2d3acf90f35989df8f262dc50beadc4ee3ae1560'</span>
    <span class="ruby-identifier">out</span> = <span class="ruby-ivar">@git</span>.<span class="ruby-identifier">diff</span>({}, <span class="ruby-identifier">commit1</span>, <span class="ruby-keyword kw">nil</span>)
    <span class="ruby-identifier">assert_match</span> <span class="ruby-value str">'index ad42ff5..aa50f09 100644'</span>, <span class="ruby-identifier">out</span>
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ginst-2009.12.8 vendor/plugins/grit/doc/classes/TestRubyGit.src/M000088.html
ginst-2009.11.24 vendor/plugins/grit/doc/classes/TestRubyGit.src/M000088.html
ginst-2009.11.23 vendor/plugins/grit/doc/classes/TestRubyGit.src/M000088.html
ginst-2.0.1 vendor/plugins/grit/doc/classes/TestRubyGit.src/M000088.html
ginst-2.0.0 vendor/plugins/grit/doc/classes/TestRubyGit.src/M000088.html