rosa-build/vendor/plugins/diff-display/test/test_api.rb

13 lines
285 B
Ruby

# -*- encoding : utf-8 -*-
require File.dirname(__FILE__) + "/test_helper"
class TestApi < Test::Unit::TestCase
include DiffFixtureHelper
def test_it_has_a_simple_API
diff = Diff::Display::Unified.new(load_diff("simple"))
diff.render(Diff::Renderer::Base.new)
end
end