@@ -75,14 +75,14 @@ public void bibliography() throws Exception {
75
75
assertEquals ("[1]S. C. Johnson and B. W. Kernighan, \u201c The Programming Language B,\u201d "
76
76
+ "Bell Laboratories, Murray Hill, NJ, USA, Technical report 8, 1973.\n " , b .getEntries ()[0 ]);
77
77
assertEquals ("[2]D. M. Ritchie and K. Thompson, \u201c The UNIX time-sharing system,\u201d "
78
- + "Operating Systems Review, vol. 7, no. 4, Art. no. 4, Oct. 1973.\n " , b .getEntries ()[1 ]);
78
+ + "Operating Systems Review, vol. 7, Art. no. 4, Oct. 1973.\n " , b .getEntries ()[1 ]);
79
79
assertEquals ("[3]D. W. Ritchie and K. Thompson, \u201c The UNIX Time-Sharing System,\u201d "
80
- + "Communications of the Association for Computing Machinery, vol. 17, no. 7, Art. no. 7, "
80
+ + "Communications of the Association for Computing Machinery, vol. 17, Art. no. 7, "
81
81
+ "Jul. 1974.\n " , b .getEntries ()[2 ]);
82
82
assertEquals ("[4]H. Lycklama, \u201c UNIX Time-Sharing System: UNIX on a Microprocessor,\u201d "
83
- + "The Bell System Technical Journal, vol. 57, no. 6, Art. no. 6, "
83
+ + "The Bell System Technical Journal, vol. 57, Art. no. 6, "
84
84
+ "Jul.\u2013 Aug. 1978, [Online]. Available: "
85
- + "http://bstj.bell-labs.com/BSTJ/images/Vol57/bstj57-6-2087.pdf. \n " , b .getEntries ()[3 ]);
85
+ + "http://bstj.bell-labs.com/BSTJ/images/Vol57/bstj57-6-2087.pdf\n " , b .getEntries ()[3 ]);
86
86
}
87
87
88
88
/**
@@ -179,7 +179,7 @@ public void noCollectionAuthor() throws Exception {
179
179
180
180
Bibliography b = citeproc .makeBibliography ();
181
181
assertEquals (1 , b .getEntries ().length );
182
- assertEquals ("Sterling, T. L. (Ed.). ( 2001). Beowulf Cluster Computing with Linux "
182
+ assertEquals ("Sterling, T. L. (2001). Beowulf Cluster Computing with Linux "
183
183
+ "(p. xxxiii + 496). MIT Press.\n " , b .getEntries ()[0 ]);
184
184
185
185
// compare with another item from the unix database
@@ -200,13 +200,13 @@ public void noCollectionAuthor() throws Exception {
200
200
BibTeXItemDataProvider sys = new BibTeXItemDataProvider ();
201
201
sys .addDatabase (db );
202
202
203
- citeproc . reset ( );
203
+ citeproc = new CSL ( sys , "apa" );
204
204
citeproc .setOutputFormat ("text" );
205
205
sys .registerCitationItems (citeproc );
206
206
207
207
Bibliography b2 = citeproc .makeBibliography ();
208
208
assertEquals (1 , b2 .getEntries ().length );
209
- assertEquals ("Rice, J. (Ed.). ( 1993). Five steps to HP-UX. OnWord Press.\n " , b2 .getEntries ()[0 ]);
209
+ assertEquals ("Rice, J. (1993). Five steps to HP-UX. OnWord Press.\n " , b2 .getEntries ()[0 ]);
210
210
}
211
211
212
212
/**
0 commit comments