Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Disable this test if running mono since it always fails
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-sugawara committed Sep 14, 2015
1 parent bc3d8cb commit 9ed45bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/DreamMisc/Text/EncodingDetectorTest.cs
Expand Up @@ -19,6 +19,7 @@
* limitations under the License.
*/

using System;
using System.IO;
using System.Text;
using log4net;
Expand Down Expand Up @@ -227,6 +228,9 @@ public class EncodingDetectorTest {

[Test]
public void Detect_encoding_for_XML_file_with_LE_JP() {
if(SysUtil.IsMono) {
return;
}
const string resource = "xml-little-endian-jp.txt";
using(var stream = GetResourceStream(resource)) {
var detector = new CharacterEncodingDetector();
Expand Down

0 comments on commit 9ed45bd

Please sign in to comment.