Skip to content
This repository was archived by the owner on May 11, 2020. It is now read-only.

Commit fe642dc

Browse files
committed
add gitattributes
1 parent 306e048 commit fe642dc

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.gitattributes

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Auto detect text files and perform LF normalization
2+
* text
3+
4+
# Don't check these into the repo as LF to work around TeamCity bug
5+
*.xml -text
6+
*.targets -text
7+
8+
# Custom for Visual Studio
9+
*.cs diff=csharp
10+
*.sln merge=union
11+
*.csproj merge=union
12+
*.vbproj merge=union
13+
*.fsproj merge=union
14+
*.dbproj merge=union
15+
16+
# Denote all files that are truly binary and should not be modified.
17+
*.dll binary
18+
*.exe binary
19+
*.png binary
20+
*.ico binary
21+
*.snk binary
22+
*.pdb binary
23+
*.svg binary

ReadSharp.Tests/ReadTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,13 @@ public async Task TestCriticalURIs2()
284284
[Fact]
285285
public async Task DebugArticle()
286286
{
287-
string uri = "http://www.zeit.de/gesellschaft/2014-02/alice-schwarzer-steuerhinterziehung-doppelmoral";
287+
string uri = "http://nstarikov.ru/blog/45260";
288288

289289
Article result = await reader.Read(new Uri(uri), new ReadOptions()
290290
{
291291
MultipageDownload = true
292292
});
293-
Assert.Equal(result.PageCount, 2);
293+
Assert.Equal(true, result.ContentExtracted);
294294
}
295295
}
296296
}

0 commit comments

Comments
 (0)