@@ -513,10 +513,10 @@ create or replace package body demo_expectations is
513513 ut.expect( 'stephen_' ).to_be_like('_tephen\_', '\'); --escape wildcards with '\'
514514 ut.expect( 'Hi, I am Stephen' ).to_( be_like('%Stephen') );
515515 ut.expect( 'stephen_' ).to_( be_like('_tephen^_', '^')); --escape wildcards with '^'
516- ut.expect( l_clob ).to_be_like('a%S_EP%');
517- ut.expect( l_clob ).to_be_like('a%S_EP%\_', '\'); --escape wildcards with '\'
518- ut.expect( l_clob ).to_( be_like('a%S_EP%') );
519- ut.expect( l_clob ).to_( be_like('a%S_EP%\_', '\') ); --escape wildcards with '\'
516+ ut.expect( l_clob ).to_be_like('% a%S_EP%');
517+ ut.expect( l_clob ).to_be_like('% a%S_EP%\_', '\'); --escape wildcards with '\'
518+ ut.expect( l_clob ).to_( be_like('% a%S_EP%') );
519+ ut.expect( l_clob ).to_( be_like('% a%S_EP%\_', '\') ); --escape wildcards with '\'
520520 end;
521521
522522 procedure demo_not_to_failure is
@@ -540,10 +540,9 @@ create or replace package body demo_expectations is
540540 ut.expect( to_char(null) ).not_to( be_not_null() );
541541 ut.expect( true ).not_to( be_false );
542542 ut.expect( false ).not_to( be_true );
543- ut.expect( cast(null as boolean) ).not_to( be_false );
544- ut.expect( cast(null as boolean) ).not_to( be_true );
543+ ut.expect(sysdate).not_to( be_between(sysdate+1,sysdate+2) );
545544 ut.expect( 1 ).not_to( equal( 2 ) );
546- ut.expect( to_char(null) ).not_to( equal( to_char(null), a_nulls_are_equal=> false ) );
545+ ut.expect( 'asd' ).not_to( be_like('z%q' ) );
547546 end;
548547
549548end;
0 commit comments