mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Converting spaces to tabs.
This commit is contained in:
parent
6a88452072
commit
d6362f1857
1 changed files with 6 additions and 6 deletions
|
@ -402,13 +402,13 @@ class TextHelperTest extends CakeTestCase {
|
||||||
$result = $this->Text->toList(array('Dusty', 'Lucky', 'Ned'), 'y');
|
$result = $this->Text->toList(array('Dusty', 'Lucky', 'Ned'), 'y');
|
||||||
$this->assertEqual($result, 'Dusty, Lucky y Ned');
|
$this->assertEqual($result, 'Dusty, Lucky y Ned');
|
||||||
|
|
||||||
$result = $this->Text->toList(array( 1 => 'Dusty', 2 => 'Lucky', 3 => 'Ned'), 'y');
|
$result = $this->Text->toList(array( 1 => 'Dusty', 2 => 'Lucky', 3 => 'Ned'), 'y');
|
||||||
$this->assertEqual($result, 'Dusty, Lucky y Ned');
|
$this->assertEqual($result, 'Dusty, Lucky y Ned');
|
||||||
|
|
||||||
$result = $this->Text->toList(array( 1 => 'Dusty', 2 => 'Lucky', 3 => 'Ned'), 'and', ' + ');
|
$result = $this->Text->toList(array( 1 => 'Dusty', 2 => 'Lucky', 3 => 'Ned'), 'and', ' + ');
|
||||||
$this->assertEqual($result, 'Dusty + Lucky and Ned');
|
$this->assertEqual($result, 'Dusty + Lucky and Ned');
|
||||||
|
|
||||||
$result = $this->Text->toList(array( 'name1' => 'Dusty', 'name2' => 'Lucky'));
|
$result = $this->Text->toList(array( 'name1' => 'Dusty', 'name2' => 'Lucky'));
|
||||||
$this->assertEqual($result, 'Dusty and Lucky');
|
$this->assertEqual($result, 'Dusty and Lucky');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue