Sha256: aefb00850c619909823025847a77e3a0911d30421aa962f97010f97e4ff14c75
Contents?: true
Size: 509 Bytes
Versions: 15
Compression:
Stored size: 509 Bytes
Contents
require_relative '../test_helper' module OhlohScm::Adapters class HgHeadTest < OhlohScm::Test def test_head_and_parents with_hglib_repository('hg') do |hg| assert_equal '655f04cf6ad7', hg.head_token assert_equal '655f04cf6ad708ab58c7b941672dce09dd369a18', hg.head.token assert hg.head.diffs.any? # diffs should be populated assert_equal '75532c1e1f1de55c2271f6fd29d98efbe35397c4', hg.parents(hg.head).first.token assert hg.parents(hg.head).first.diffs.any? end end end end
Version data entries
15 entries across 15 versions & 1 rubygems