@@ -27,7 +27,7 @@ public function test_encoding_iso88591_as_UTF8()
2727
2828 $ this ->assertTrue ($ encoding ->detectEncoding (__DIR__ .'/files/iso88591.txt ' , 'UTF-8,ISO-8859-1,WINDOWS-1252 ' ) == 'ISO-8859-1 ' );
2929 $ this ->assertTrue ($ encoding ->encodeFile (__DIR__ .'/files/iso88591.txt ' , 'UTF-8 ' , 'UTF-8,ISO-8859-1,WINDOWS-1252 ' ));
30- $ this ->assertTrue ($ encoding ->checkEncoding (__DIR__ .'/files/iso88591.txt ' ,'UTF-8 ' ));
30+ $ this ->assertTrue ($ encoding ->checkEncoding (__DIR__ .'/files/iso88591.txt ' , 'UTF-8 ' ));
3131
3232 $ this ->close ();
3333 }
@@ -38,7 +38,7 @@ public function test_encoding_UTF8_as_UTF8()
3838 $ encoding = new Encoding ();
3939 $ this ->assertTrue ($ encoding ->detectEncoding ('tests/files/utf8.txt ' , 'UTF-8,ISO-8859-1,WINDOWS-1252 ' ) == 'UTF-8 ' );
4040 $ this ->assertTrue ($ result = $ encoding ->encodeFile ('tests/files/utf8.txt ' ));
41- $ this ->assertTrue ($ encoding ->checkEncoding ('tests/files/utf8.txt ' ,'UTF-8 ' ));
41+ $ this ->assertTrue ($ encoding ->checkEncoding ('tests/files/utf8.txt ' , 'UTF-8 ' ));
4242
4343 $ this ->close ();
4444 }
@@ -49,7 +49,7 @@ public function test_encoding_file_not_exists()
4949 $ encoding = new Encoding ();
5050 $ this ->assertFalse ($ encoding ->detectEncoding ('tests/files/test.txt ' , 'UTF-8,ISO-8859-1,WINDOWS-1252 ' ) == 'UTF-8 ' );
5151 $ this ->assertFalse ($ result = $ encoding ->encodeFile ('tests/files/test.txt ' ));
52- $ this ->assertFalse ($ encoding ->checkEncoding ('tests/files/test.txt ' ,'UTF-8 ' ));
52+ $ this ->assertFalse ($ encoding ->checkEncoding ('tests/files/test.txt ' , 'UTF-8 ' ));
5353
5454 $ this ->close ();
5555 }
0 commit comments