HEX
Server: Apache
System: Linux andromeda.lojoweb.com 4.18.0-372.26.1.el8_6.x86_64 #1 SMP Tue Sep 13 06:07:14 EDT 2022 x86_64
User: nakedfoamlojoweb (1056)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/doc/perl-Test-Simple/t/Test2/modules/EventFacet/Assert.t
use strict;
use warnings;

use Test2::Tools::Tiny;

use ok 'Test2::EventFacet::Assert';
my $CLASS = 'Test2::EventFacet::Assert';

my $one = $CLASS->new(details => 'foo', pass => 1, no_debug => 1);

is($one->details, "foo", "Got details");
is($one->pass, 1, "Got 'pass' value");
is($one->no_debug, 1, "Got 'no_debug' value");

is_deeply($one->clone, $one, "Cloning.");
isnt($one->clone, $one, "Clone is a new ref");

ok(!$CLASS->is_list, "is not a list");
is($CLASS->facet_key, 'assert', "Got key");

done_testing;