typo fixes
[gitmo/Moose-Autobox.git] / t / 012_first_last.t
CommitLineData
8b14b072 1#!/usr/bin/perl
2
3use strict;
4use warnings;
5
6use Test::More tests => 5;
7
8require_ok('Moose::Autobox');
9
10use Moose::Autobox;
11
12my $string = 'foo';
13my $list = ['foo', 'bar'];
14
15is $string->first, 'foo';
16is $string->last, 'foo';
17
18is $list->first, 'foo';
19is $list->last, 'bar';