Update expectations of SRW-Z39.50 diagnostic mapping.
authorMike Taylor <mike@indexdata.com>
Thu, 29 Jan 2015 07:51:52 +0000 (07:51 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 29 Jan 2015 07:51:52 +0000 (07:51 +0000)
This has actually changed in YAZ.
(The new mappings do make sense.)

test.pl

diff --git a/test.pl b/test.pl
index 022dcaf..7978fbc 100644 (file)
--- a/test.pl
+++ b/test.pl
@@ -14,10 +14,10 @@ print "ok 1\n";
 
 ######################### End of black magic.
 
 
 ######################### End of black magic.
 
-print "not " if Net::Z3950::SimpleServer::yaz_diag_srw_to_bib1(11) != 3;
+print "not " if Net::Z3950::SimpleServer::yaz_diag_srw_to_bib1(11) != 107;
 print "ok 2\n";
 
 print "ok 2\n";
 
-print "not " if Net::Z3950::SimpleServer::yaz_diag_bib1_to_srw(3) != 11;
+print "not " if Net::Z3950::SimpleServer::yaz_diag_bib1_to_srw(3) != 48;
 print "ok 3\n";
 
 # Insert your test code below (better if it prints "ok 13"
 print "ok 3\n";
 
 # Insert your test code below (better if it prints "ok 13"