test: set autoflush for consistency

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-07-19 09:37:08 +02:00
parent 9acdb78242
commit 0864428bd6
2 changed files with 11 additions and 9 deletions

View File

@ -7,6 +7,8 @@ use RSPM::Bless;
use RSPM::Foo142; use RSPM::Foo142;
use RSPM::Option; use RSPM::Option;
STDOUT->autoflush;
my $v = RSPM::Bless->new("Hello"); my $v = RSPM::Bless->new("Hello");
$v->something(); $v->something();
my ($a, $b, $c) = $v->multi_return(); my ($a, $b, $c) = $v->multi_return();

View File

@ -1,23 +1,23 @@
Called something on Bless { "Hello" }! Called something on Bless { "Hello" }!
Called 'another(54)' on Bless { "Hello" }!
test called with Some("lo ")
teststr called with Some("lo ")
test called with None
teststr called with None
got Blubber("Can I have some coffee please?\n")
got Blubber("Can I have some coffee please?\n")
got Blubber("Can I have some ☕ please?\n")
got Blubber("Can I have some ☕ please?\n")
Got (17, 32, ) Got (17, 32, )
Got: 2 values: 17 32 Got: 2 values: 17 32
Called 'another(54)' on Bless { "Hello" }!
These should be called with a valid substr: These should be called with a valid substr:
test called with Some("lo ")
teststr called with Some("lo ")
Parameter exists: NO Parameter exists: NO
test called with None
Was auto-vivified: NO Was auto-vivified: NO
teststr called with None
Can I have some coffee please? Can I have some coffee please?
got Blubber("Can I have some coffee please?\n")
Can I have some coffee please? Can I have some coffee please?
got Blubber("Can I have some coffee please?\n")
Can I have some coffee please? Can I have some coffee please?
Can I have some ☕ please? Can I have some ☕ please?
got Blubber("Can I have some ☕ please?\n")
Can I have some ☕ please? Can I have some ☕ please?
got Blubber("Can I have some ☕ please?\n")
Can I have some ☕ please? Can I have some ☕ please?
Some(false) Some(false)
Some(false) Some(false)