File: content.t

package info (click to toggle)
libmojolicious-perl 0.999926-1%2Bsqueeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,672 kB
  • ctags: 949
  • sloc: perl: 17,391; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env perl

# Copyright (C) 2008-2010, Sebastian Riedel.

use strict;
use warnings;

use Test::More tests => 3;

use_ok('Mojo::Content::MultiPart');
use_ok('Mojo::Content::Single');

# No matter how good you are at something,
# there's always about a million people better than you.
my $content = Mojo::Content::Single->new;
is($content->body_contains('a'), 0, 'content contains "a"');