diff --git a/bibtexbrowser-test.php b/bibtexbrowser-test.php index 4937dd5..2a12e6c 100755 --- a/bibtexbrowser-test.php +++ b/bibtexbrowser-test.php @@ -70,7 +70,7 @@ class BTBTest extends PHPUnit_Framework_TestCase { // default style $this->assertEquals("A Book (Martin Monperrus), Springer, 2009. [bibtex]",strip_tags($first_entry->toHTML())); - $this->assertEquals('A Book (), Springer, . [bibtex]',$first_entry->toHTML()); + $this->assertEquals('A Book (), Springer, . [bibtex]',$first_entry->toHTML()); // IEEE style bibtexbrowser_configure('BIBLIOGRAPHYSTYLE','JanosBibliographyStyle'); @@ -94,7 +94,7 @@ class BTBTest extends PHPUnit_Framework_TestCase { // default style $this->assertEquals("An Article (Foo Bar and Jane Doe), In New Results, volume 5, 2009. [bibtex]",strip_tags($first_entry->toHTML())); - $this->assertEquals('An Article ( and ), In New Results, volume 5, . [bibtex]',$first_entry->toHTML()); + $this->assertEquals('An Article ( and ), In New Results, volume 5, . [bibtex]',$first_entry->toHTML()); // IEEE style bibtexbrowser_configure('BIBLIOGRAPHYSTYLE','JanosBibliographyStyle'); @@ -107,7 +107,7 @@ class BTBTest extends PHPUnit_Framework_TestCase { // changing the target bibtexbrowser_configure('BIBLIOGRAPHYSTYLE','DefaultBibliographyStyle'); bibtexbrowser_configure('BIBTEXBROWSER_LINKS_TARGET','_top'); - $this->assertEquals('An Article ( and ), In New Results, volume 5, . [bibtex]',$first_entry->toHTML()); + $this->assertEquals('An Article ( and ), In New Results, volume 5, . [bibtex]',$first_entry->toHTML()); } @@ -302,7 +302,7 @@ class BTBTest extends PHPUnit_Framework_TestCase { $btb = new BibDataBase(); $btb->update_internal("inline", $test_data); $first_entry=$btb->bibdb[array_keys($btb->bibdb)[0]]; - $this->assertEquals('
@Article{Baldwin2014Quantum,Doi={10.1103/PhysRevA.90.012110},Url={http://link.aps.org/doi/10.1103/PhysRevA.90.012110}}
',$first_entry->toEntryUnformatted()); + $this->assertEquals('
@Article{Baldwin2014Quantum,Doi={10.1103/PhysRevA.90.012110},Url={http://link.aps.org/doi/10.1103/PhysRevA.90.012110}}
',$first_entry->toEntryUnformatted()); } function test_filter_view() { @@ -620,7 +620,7 @@ class BTBTest extends PHPUnit_Framework_TestCase { $db = new BibDataBase(); $db->update_internal("inline", $test_data); $entry=$db->getEntryByKey("key"); - $this->assertContains('[citations]', $entry->toHTML()); + $this->assertContains('[citations]', $entry->toHTML()); } } // end class