mirror of
https://git.proxmox.com/git/perlmod
synced 2025-10-04 22:07:05 +00:00
test: set autoflush for consistency
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
9acdb78242
commit
0864428bd6
2
test.pl
2
test.pl
@ -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();
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user