diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..cd9b9c5 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/ReadSharp.Tests/ReadTests.cs b/ReadSharp.Tests/ReadTests.cs index 808f2e3..4809293 100644 --- a/ReadSharp.Tests/ReadTests.cs +++ b/ReadSharp.Tests/ReadTests.cs @@ -284,13 +284,13 @@ namespace ReadSharp.Tests [Fact] 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() { MultipageDownload = true }); - Assert.Equal(result.PageCount, 2); + Assert.Equal(true, result.ContentExtracted); } } } \ No newline at end of file