[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
share
/
doc
/
perl-Test-Simple
/
t
/
Test2
/
modules
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 API
SET
[ DEL ]
📁 Event
SET
[ DEL ]
📁 EventFacet
SET
[ DEL ]
📁 Formatter
SET
[ DEL ]
📁 Hub
SET
[ DEL ]
📁 IPC
SET
[ DEL ]
📁 Tools
SET
[ DEL ]
📁 Util
SET
[ DEL ]
📄 API.t
8,880 B
SET
[ EDIT ]
|
[ DEL ]
📄 Event.t
21,566 B
SET
[ EDIT ]
|
[ DEL ]
📄 EventFacet.t
549 B
SET
[ EDIT ]
|
[ DEL ]
📄 Hub.t
11,920 B
SET
[ EDIT ]
|
[ DEL ]
📄 IPC.t
422 B
SET
[ EDIT ]
|
[ DEL ]
📄 Util.t
2,488 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: EventFacet.t
use strict; use warnings; use Test2::Tools::Tiny; use ok 'Test2::EventFacet'; my $CLASS = 'Test2::EventFacet'; my $one = $CLASS->new(details => 'foo'); is($one->details, "foo", "Got details"); is_deeply($one->clone, $one, "Cloning."); isnt($one->clone, $one, "Clone is a new ref"); my $two = $one->clone(details => 'bar'); is($one->details, 'foo', "Original details unchanged"); is($two->details, 'bar', "Clone details changed"); ok(!$CLASS->is_list, "Not a list by default"); ok(!$CLASS->facet_key, "No key for base class"); done_testing;