Sha256: 112cb129b1aed5247536bf7a7720189c82bf8fd075a73d2a9d6e8997e8d682c6
Contents?: true
Size: 353 Bytes
Versions: 1
Compression:
Stored size: 353 Bytes
Contents
require_relative '../test_helper' module OhlohScm::Adapters class HgPatchTest < Scm::Test def test_patch_for_commit with_hg_repository('hg') do |repo| commit = repo.verbose_commit(1) data = File.read(File.join(DATA_DIR, 'hg_patch.diff')) assert_equal data, repo.patch_for_commit(commit) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ohloh_scm-2.0.0 | test/unit/hg_patch_test.rb |