File: 01_dev.t

package info (click to toggle)
libterm-encoding-perl 0.03-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 116 kB
  • sloc: perl: 53; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use Test::More 'no_plan';

use Term::Encoding qw(term_encoding);

my $expect = $ENV{DEV_MIYAGAWA_UNIX}  ? 'euc-jp'
           : $ENV{DEV_MIYAGAWA_WIN32} ? 'cp932'
           :                             undef;

SKIP: {
    skip 'DEV_* is not set', 1 unless $expect;
    is term_encoding(), $expect;
}