diff --git a/xt/10_remote_snmplabs.t b/xt/10_remote_snmplabs.t index e0260447..593ef823 100644 --- a/xt/10_remote_snmplabs.t +++ b/xt/10_remote_snmplabs.t @@ -26,7 +26,7 @@ my $info = SNMP::Info->new( ok($info, 'SNMP::Info instantiated'); ok((!defined $info->error()), 'No error on initial connection'); -is($info->name(), '434', 'name is "new system name"'); +like($info->name(), qr/\w+/, 'name is "new system name"'); is($info->class(), 'SNMP::Info::Layer3::NetSNMP', 'class is Layer3::NetSNMP'); done_testing;