add gitattributes

This commit is contained in:
2014-12-08 20:29:04 +01:00
parent 306e048a9d
commit fe642dcf43
2 changed files with 25 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
# Auto detect text files and perform LF normalization
* text
# Don't check these into the repo as LF to work around TeamCity bug
*.xml -text
*.targets -text
# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union
# Denote all files that are truly binary and should not be modified.
*.dll binary
*.exe binary
*.png binary
*.ico binary
*.snk binary
*.pdb binary
*.svg binary
+2 -2
View File
@@ -284,13 +284,13 @@ namespace ReadSharp.Tests
[Fact] [Fact]
public async Task DebugArticle() public async Task DebugArticle()
{ {
string uri = "http://www.zeit.de/gesellschaft/2014-02/alice-schwarzer-steuerhinterziehung-doppelmoral"; string uri = "http://nstarikov.ru/blog/45260";
Article result = await reader.Read(new Uri(uri), new ReadOptions() Article result = await reader.Read(new Uri(uri), new ReadOptions()
{ {
MultipageDownload = true MultipageDownload = true
}); });
Assert.Equal(result.PageCount, 2); Assert.Equal(true, result.ContentExtracted);
} }
} }
} }