Skip to content

Commit

Permalink
MDL-41197 fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Oct 7, 2013
1 parent 54b951f commit 2ff9ac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tests/textlib_test.php
Expand Up @@ -93,8 +93,8 @@ public function test_convert() {
$this->assertSame(textlib::convert($utf8, 'utf-8', 'utf-8'), $utf8);

$utf8 = "Žluťoučký koníček";
$this->assertSame('Zlutouck\'y kon\'icek', core_text::convert($utf8, 'utf-8', 'ascii'));
$this->assertSame($utf8, core_text::convert($utf8.chr(130), 'utf-8', 'utf-8'));
$this->assertSame('Zlutoucky konicek', textlib::convert($utf8, 'utf-8', 'ascii'));
$this->assertSame($utf8, textlib::convert($utf8.chr(130), 'utf-8', 'utf-8'));
}

/**
Expand Down

0 comments on commit 2ff9ac5

Please sign in to comment.