@@ -718,44 +718,44 @@ create or replace type body ut_expectation as
718718 return l_result;
719719 end;
720720
721- member function to_be_within_pct(a_dist natural) return ut_be_within_pct is
722- l_result ut_be_within_pct;
723- begin
724- l_result := ut_be_within_pct(a_dist);
725- l_result.expectation := self;
726- return l_result;
721+ member function to_be_within_pct(a_dist natural) return ut_be_within_pct is
722+ l_result ut_be_within_pct;
723+ begin
724+ l_result := ut_be_within_pct(a_dist);
725+ l_result.expectation := self;
726+ return l_result;
727727 end;
728728
729729 member function not_to_be_within(a_dist natural) return ut_be_within is
730- l_result ut_matcher ;
730+ l_result ut_be_within ;
731731 begin
732- l_result := ut_be_within(a_dist).negated();
732+ l_result := treat( ut_be_within(a_dist).negated() as ut_be_within );
733733 l_result.expectation := self;
734- return treat( l_result as ut_be_within) ;
734+ return l_result;
735735 end;
736736
737737 member function not_to_be_within(a_dist dsinterval_unconstrained) return ut_be_within is
738- l_result ut_matcher ;
738+ l_result ut_be_within ;
739739 begin
740- l_result := ut_be_within(a_dist).negated();
740+ l_result := treat( ut_be_within(a_dist).negated() as ut_be_within );
741741 l_result.expectation := self;
742- return treat( l_result as ut_be_within) ;
742+ return l_result;
743743 end;
744744
745745 member function not_to_be_within(a_dist yminterval_unconstrained) return ut_be_within is
746- l_result ut_matcher ;
746+ l_result ut_be_within ;
747747 begin
748- l_result := ut_be_within(a_dist).negated();
748+ l_result := treat( ut_be_within(a_dist).negated() as ut_be_within );
749749 l_result.expectation := self;
750- return treat( l_result as ut_be_within) ;
750+ return l_result;
751751 end;
752752
753- member function not_to_be_within_pct(a_dist natural) return ut_be_within_pct is
754- l_result ut_matcher ;
755- begin
756- l_result := ut_be_within_pct(a_dist).negated();
757- l_result.expectation := self;
758- return treat( l_result as ut_be_within_pct) ;
753+ member function not_to_be_within_pct(a_dist natural) return ut_be_within_pct is
754+ l_result ut_be_within ;
755+ begin
756+ l_result := treat( ut_be_within_pct(a_dist).negated() as ut_be_within );
757+ l_result.expectation := self;
758+ return l_result;
759759 end;
760760
761761end;
0 commit comments