diff options
Diffstat (limited to 'Examples/test-suite/perl5/director_string_runme.pl')
-rw-r--r-- | Examples/test-suite/perl5/director_string_runme.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Examples/test-suite/perl5/director_string_runme.pl b/Examples/test-suite/perl5/director_string_runme.pl index 4d996ef0f..5ce92163b 100644 --- a/Examples/test-suite/perl5/director_string_runme.pl +++ b/Examples/test-suite/perl5/director_string_runme.pl @@ -1,6 +1,6 @@ use strict; use warnings; -use Test::More tests => 5; +use Test::More tests => 7; BEGIN { use_ok 'director_string' } require_ok 'director_string'; @@ -25,9 +25,10 @@ require_ok 'director_string'; my $b = B->new("hello"); isa_ok $b, 'B'; -$b->get(0); +is $b->get(0), "hello"; -is $b->get_first(), "hello world!"; +is $b->get_first(), "hello world!"; +is $b->call_get_first(), "hello world!"; $b->call_process_func(); |