From 3c6cfa8ecf50c03b4d351b3ea3c05bce31b7cd58 Mon Sep 17 00:00:00 2001 From: "Eric A. Miller" Date: Sun, 1 Apr 2018 20:46:02 -0400 Subject: [PATCH] Cover overridden layers in Layer1::Cyclades --- xt/lib/Test/SNMP/Info/Layer1/Cyclades.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xt/lib/Test/SNMP/Info/Layer1/Cyclades.pm b/xt/lib/Test/SNMP/Info/Layer1/Cyclades.pm index a828ab31..69d0b98f 100644 --- a/xt/lib/Test/SNMP/Info/Layer1/Cyclades.pm +++ b/xt/lib/Test/SNMP/Info/Layer1/Cyclades.pm @@ -128,6 +128,13 @@ sub setup : Tests(setup) { $test->{info}->cache($cache_data); } +sub layers : Tests(2) { + my $test = shift; + + can_ok( $test->{info}, 'layers' ); + is( $test->{info}->layers(), '01000001', q(Layers returns '01000001') ); +} + sub os : Tests(2) { my $test = shift;