From: Mike Taylor Date: Thu, 29 Jan 2015 07:51:52 +0000 (+0000) Subject: Update expectations of SRW-Z39.50 diagnostic mapping. X-Git-Tag: v1.20~2 X-Git-Url: http://git.indexdata.com/?p=simpleserver-moved-to-github.git;a=commitdiff_plain;h=943e88731e1033bf09e21981f06df7f5683aa799;ds=inline Update expectations of SRW-Z39.50 diagnostic mapping. This has actually changed in YAZ. (The new mappings do make sense.) --- diff --git a/test.pl b/test.pl index 022dcaf..7978fbc 100644 --- a/test.pl +++ b/test.pl @@ -14,10 +14,10 @@ print "ok 1\n"; ######################### 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 "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"