Sha256: 5c08436ddd2f37b1b1cf83d71cc6ee5886a1ef19d0360a8df1cfc63fe4caa723
Contents?: true
Size: 537 Bytes
Versions: 36
Compression:
Stored size: 537 Bytes
Contents
require_relative '../test_helper' module OhlohScm::Adapters class SvnCatFileTest < OhlohScm::Test def test_cat_file with_svn_repository('svn') do |svn| expected = <<-EXPECTED /* Hello, World! */ #include <stdio.h> main() { printf("Hello, World!\\n"); } EXPECTED assert_equal expected, svn.cat_file(OhlohScm::Commit.new(:token => 1), OhlohScm::Diff.new(:path => "trunk/helloworld.c")) assert_equal nil, svn.cat_file(OhlohScm::Commit.new(:token => 1), OhlohScm::Diff.new(:path => "file not found")) end end end end
Version data entries
36 entries across 36 versions & 1 rubygems