From 57c2ce78e6f4eaa31e05f354445676a0e562cc82 Mon Sep 17 00:00:00 2001 From: Roger Leigh Date: Wed, 9 Sep 2009 21:50:26 +0100 Subject: sbuild::chroot_facet_source_clonable: Remove source_clonable member --- test/test-sbuild-chroot.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/test-sbuild-chroot.h b/test/test-sbuild-chroot.h index 6257d271..14e16c46 100644 --- a/test/test-sbuild-chroot.h +++ b/test/test-sbuild-chroot.h @@ -94,13 +94,14 @@ public: this->source = this->chroot->clone_source(); if (this->source) { - sbuild::chroot_facet_source_clonable::const_ptr ssrc + sbuild::chroot_facet_source_clonable::const_ptr pfsrcc (this->source-> template get_facet()); - if (ssrc) - { - CPPUNIT_ASSERT(ssrc->get_source_clonable() == true); - } + CPPUNIT_ASSERT(!pfsrcc); + sbuild::chroot_facet_source::const_ptr pfsrc + (this->source-> + template get_facet()); + CPPUNIT_ASSERT(pfsrc); } this->chroot_union = sbuild::chroot::ptr(new T); -- cgit v1.2.3