Commits

Diab Jerius  committed 9903cc9

add simple getencoding test

  • Participants
  • Parent commits fc1a6fb

Comments (0)

Files changed (1)

File t/Server/encoding.t

+#!perl
+
+use strict;
+use warnings;
+
+use t::common;
+
+use Test::More;
+
+use Hg::Lib::Server;
+
+sub new { Hg::Lib::Server->new( hg => fake_hg, @_ ) }
+
+is( new( args => 'basic' )->getencoding, 'utf-8', 'default encoding' );
+
+done_testing;
+
+