Bug 5327 1 more test added.
authorjohnboy <chansey.killer@hotmail.com>
Tue, 18 Jan 2011 21:44:11 +0000 (10:44 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 18 Jan 2011 22:04:37 +0000 (11:04 +1300)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
t/Record.t

index 7d71843..a0f210e 100755 (executable)
@@ -6,7 +6,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 9;
+use Test::More tests => 10;
 use MARC::Record;
 
 BEGIN {
@@ -98,6 +98,9 @@ my $test5xml=qq(\@book{,
 
 is ($bibtex, $test5xml, "testing bibtex");
 
+my @entity=C4::Record::_entity_encode("BJ??RN");
+is ($entity[0], "BJ&#xC3;&#x96;RN", "Html umluts");
+