Sha256: 8b29bd503501834866646e01ab1c1247765ee9253be68160e529fe8c187c3d5d
Contents?: true
Size: 486 Bytes
Versions: 1
Compression:
Stored size: 486 Bytes
Contents
# -*- coding: us-ascii -*- require 'stringio' require File.join(File.expand_path(File.dirname(__FILE__)), 'testutilities') require File.expand_path(File.join(File.dirname(__FILE__), "../lib/amp")) class TestMpatch < AmpTestCase include Amp::Diffs::Mercurial def test_apply_patch patch = "\000\000\000\t\000\000\000\021\000\000\000\ni'm stupid" input = "hi there\ni'm cool" assert_equal("hi there\ni'm stupid", MercurialPatch.apply_patches(input, [patch])) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amp-0.5.3 | test/test_mpatch.rb |