Sha256: cb0e8a5868a3822101c22fd95d374d5ad2107c331a14f6bbe6548fac418a7ce3

Contents?: true

Size: 1.66 KB

Versions: 5

Compression:

Stored size: 1.66 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_add (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 56</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_diff_add</span>
    <span class="ruby-identifier">commit1</span> = <span class="ruby-value str">'c9cf68fc61bd2634e90a4f6a12d88744e6297c4e'</span>
    <span class="ruby-identifier">commit2</span> = <span class="ruby-value str">'7a8d32cb18a0ba2ff8bf86cadacc3fd2816da219'</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-identifier">commit2</span>)
    <span class="ruby-identifier">assert_match</span> <span class="ruby-value str">&quot;--- /dev/null\n+++ b/test/test_tag.rb&quot;</span>, <span class="ruby-identifier">out</span>
    <span class="ruby-identifier">assert_match</span> <span class="ruby-value str">&quot;diff --git a/test/test_tag.rb b/test/test_tag.rb&quot;</span>, <span class="ruby-identifier">out</span>
    <span class="ruby-identifier">assert_match</span> <span class="ruby-value str">'index 0000000..2e3b0cb'</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/M000090.html
ginst-2009.11.24 vendor/plugins/grit/doc/classes/TestRubyGit.src/M000090.html
ginst-2009.11.23 vendor/plugins/grit/doc/classes/TestRubyGit.src/M000090.html
ginst-2.0.1 vendor/plugins/grit/doc/classes/TestRubyGit.src/M000090.html
ginst-2.0.0 vendor/plugins/grit/doc/classes/TestRubyGit.src/M000090.html