[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Ruby bindings test failures on Windows

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2007-04-25 06:19:42 CEST

Hi Joe,

2007/4/25, Joe Swatosh <joe.swatosh@gmail.com>:

> > > 2) Error:
> > > test_hotcopy(SvnFsTest):
> > >
> > > 3) Error:
> > > test_hotcopy_for_backward_compatibility(SvnFsTest):
> >
> > I fixed them in r24751.
> >
>
> Works here, but I like asserting the beginning state too....

Ah, OK. You can add the assertion.

> Index: subversion/bindings/swig/ruby/test/test_fs.rb
> ===================================================================
> --- subversion/bindings/swig/ruby/test/test_fs.rb (revision 24753)
> +++ subversion/bindings/swig/ruby/test/test_fs.rb (working copy)
> @@ -80,6 +80,10 @@
> FileUtils.mv(@fs.path, backup_path)
> FileUtils.mkdir_p(@fs.path)
>
> + assert_raises(Svn::Error::RaLocalReposOpenFailed) do
> + ctx.log_message(path, rev)
> + end
> +
> yield(backup_path, @fs.path)
> assert_equal(log, ctx.log_message(path, rev))
> end
>

Thanks,

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 25 06:19:50 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.