Skip to content

Commit ebdb17b

Browse files
committed
typo/comment fixes in tests
1 parent 67f1d3d commit ebdb17b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/Rct567/DomQuery/Tests/DomQueryManipulationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function testAppendTo()
177177
}
178178

179179
/*
180-
* Test append to (other domquery)
180+
* Test append to (other DomQuery)
181181
*/
182182
public function testAppendToOther()
183183
{
@@ -217,7 +217,7 @@ public function testPrependTo()
217217
}
218218

219219
/*
220-
* Test prepend to (other domquery)
220+
* Test prepend to (other DomQuery)
221221
*/
222222
public function testPrependToOther()
223223
{

tests/Rct567/DomQuery/Tests/DomQueryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ public function testDomQueryNoDocument()
292292
/*
293293
* Test constructor with selector and html context
294294
*/
295-
public function testConstuctorWithSelectorAndHtmlContext()
295+
public function testConstructorWithSelectorAndHtmlContext()
296296
{
297297
$dom = new DomQuery('div', '<div>X</div><p>Nope</p>');
298298
$this->assertEquals('<div>X</div>', (string) $dom);
@@ -301,7 +301,7 @@ public function testConstuctorWithSelectorAndHtmlContext()
301301
/*
302302
* Test constructor with selector and self as context
303303
*/
304-
public function testConstuctorWithSelectorAndSelfContext()
304+
public function testConstructorWithSelectorAndSelfContext()
305305
{
306306
$dom = new DomQuery('div', new DomQuery('<div>X</div><p>Nope</p>'));
307307
$this->assertEquals('<div>X</div>', (string) $dom);

0 commit comments

Comments
 (0)