Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.334 kb
#!perl -Tw
use warnings;
use strict;
use Test::More tests => 8;
BEGIN {
use_ok( 'WWW::Mechanize' );
}
my @aliases = WWW::Mechanize::known_agent_aliases();
is( scalar @aliases, 6, 'All aliases accounted for' );
for my $alias ( @aliases ) {
like( $alias, qr/^(Mac|Windows|Linux) /, 'We only know Mac, Windows or Linux' );
}
Jump to Line
Something went wrong with that request. Please try again.