add gitattributes
This commit is contained in:
@@ -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
|
||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user