Sha256: 8f7b4a7c5e1b81741e8fdbded7229f453e37f55373e31789a561630998165346
Contents?: true
Size: 504 Bytes
Versions: 1
Compression:
Stored size: 504 Bytes
Contents
require_relative '../test_helper' module OhlohScm::Adapters class HgHeadTest < Scm::Test def test_head_and_parents with_hglib_repository('hg') do |hg| assert_equal '75532c1e1f1d', hg.head_token assert_equal '75532c1e1f1de55c2271f6fd29d98efbe35397c4', hg.head.token assert hg.head.diffs.any? # diffs should be populated assert_equal '468336c6671cbc58237a259d1b7326866afc2817', hg.parents(hg.head).first.token assert hg.parents(hg.head).first.diffs.any? end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ohloh_scm-2.0.0 | test/unit/hglib_head_test.rb |