home
·
contact
·
privacy
projects
/
redo-blog
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
832ddee
)
Fix tests.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 4 Jan 2017 13:06:41 +0000
(14:06 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 4 Jan 2017 13:06:41 +0000
(14:06 +0100)
test/test_files/bar baz.html.ignoring
patch
|
blob
|
history
test/test_files/feed.xml.ignoring
patch
|
blob
|
history
test/test_files/foo.html.ignoring
patch
|
blob
|
history
test/test_files/index.html.ignoring
patch
|
blob
|
history
test/test_files/test.html.ignoring
patch
|
blob
|
history
diff --git
a/test/test_files/bar baz.html.ignoring
b/test/test_files/bar baz.html.ignoring
index b4167b77e990e3c6bd9d276139676acf556d460e..59c59965da9bf8bfd3193f1d35fd432033d1e58c 100644
(file)
--- a/
test/test_files/bar baz.html.ignoring
+++ b/
test/test_files/bar baz.html.ignoring
@@
-1,6
+1,4
@@
<!DOCTYPE html>
<!DOCTYPE html>
-<html>
-<head>
<meta charset="UTF-8">
<style type="text/css">
h1 { font-size: 2em; }
<meta charset="UTF-8">
<style type="text/css">
h1 { font-size: 2em; }
@@
-13,8
+11,6
@@
header h1 { margin-bottom: 0.1em; }
header p { margin: 0; }
</style>
<title>Yet another blog – foo</title>
header p { margin: 0; }
</style>
<title>Yet another blog – foo</title>
-</head>
-<body>
<a href="index.html">Yet another blog</a>
<article>
<header>
<a href="index.html">Yet another blog</a>
<article>
<header>
@@
-25,6
+21,4
@@
header p { margin: 0; }
<p>bar</p>
<h3 id="bar-1">bar</h3>
<p>bar</p>
<p>bar</p>
<h3 id="bar-1">bar</h3>
<p>bar</p>
-</article>
-</body>
-</html>
\ No newline at end of file
+</article>
\ No newline at end of file
diff --git
a/test/test_files/feed.xml.ignoring
b/test/test_files/feed.xml.ignoring
index 364d700a8dcbc3e92e94c4d1314ec075480b78b1..7289ec60c447056cf97e0b74b850a9ac8a419c1e 100644
(file)
--- a/
test/test_files/feed.xml.ignoring
+++ b/
test/test_files/feed.xml.ignoring
@@
-1,6
+1,6
@@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
-<link href="http://example.org/" />
+<link href="http://example.org/"
rel="alternate" type="text/html"
/>
<link href="http://example.org/feed.xml" rel="self" />
<title type="html">Yet another blog</title>
<author><name>Joe Sixpack</name></author>
<link href="http://example.org/feed.xml" rel="self" />
<title type="html">Yet another blog</title>
<author><name>Joe Sixpack</name></author>
@@
-12,7
+12,7
@@
<id>urn:uuid:IGNORE</id>
<updated>IGNORE</updated>
<published>IGNORE</published>
<id>urn:uuid:IGNORE</id>
<updated>IGNORE</updated>
<published>IGNORE</published>
-<link href="http://example.org/test.html" />
+<link href="http://example.org/test.html"
rel="alternate" type="text/html"
/>
<content type="html">
<p>foo</p>
<h2 id="bar">bar</h2>
<content type="html">
<p>foo</p>
<h2 id="bar">bar</h2>
@@
-25,7
+25,7
@@
<id>urn:uuid:IGNORE</id>
<updated>IGNORE</updated>
<published>IGNORE</published>
<id>urn:uuid:IGNORE</id>
<updated>IGNORE</updated>
<published>IGNORE</published>
-<link href="http://example.org/bar%20baz.html" />
+<link href="http://example.org/bar%20baz.html"
rel="alternate" type="text/html"
/>
<content type="html">
<h2 id="bar">bar</h2>
<p>bar</p>
<content type="html">
<h2 id="bar">bar</h2>
<p>bar</p>
@@
-39,7
+39,7
@@
<id>urn:uuid:IGNORE</id>
<updated>IGNORE</updated>
<published>IGNORE</published>
<id>urn:uuid:IGNORE</id>
<updated>IGNORE</updated>
<published>IGNORE</published>
-<link href="http://example.org/foo.html" />
+<link href="http://example.org/foo.html"
rel="alternate" type="text/html"
/>
<content type="html">
<p>this text contains some special characters: /;%'&quot;&gt;&lt;&amp;äöüß</p>
<h2 id="some-sub-heading">some sub-heading</h2>
<content type="html">
<p>this text contains some special characters: /;%'&quot;&gt;&lt;&amp;äöüß</p>
<h2 id="some-sub-heading">some sub-heading</h2>
diff --git
a/test/test_files/foo.html.ignoring
b/test/test_files/foo.html.ignoring
index ba0044677c5cf5abd1cabb1ebf478a8d4977410a..de2d406399c725a692b493feaf5efece7b36ba83 100644
(file)
--- a/
test/test_files/foo.html.ignoring
+++ b/
test/test_files/foo.html.ignoring
@@
-1,6
+1,4
@@
<!DOCTYPE html>
<!DOCTYPE html>
-<html>
-<head>
<meta charset="UTF-8">
<style type="text/css">
h1 { font-size: 2em; }
<meta charset="UTF-8">
<style type="text/css">
h1 { font-size: 2em; }
@@
-13,8
+11,6
@@
header h1 { margin-bottom: 0.1em; }
header p { margin: 0; }
</style>
<title>Yet another blog – a title with some nasty characters: &<>"' %BODY%</title>
header p { margin: 0; }
</style>
<title>Yet another blog – a title with some nasty characters: &<>"' %BODY%</title>
-</head>
-<body>
<a href="index.html">Yet another blog</a>
<article>
<header>
<a href="index.html">Yet another blog</a>
<article>
<header>
@@
-26,6
+22,4
@@
header p { margin: 0; }
<p>and more than one paragraph</p>
<h2 id="another-sub-heading">another sub-heading</h2>
<p>note that should be ignored but \ should give a backlash</p>
<p>and more than one paragraph</p>
<h2 id="another-sub-heading">another sub-heading</h2>
<p>note that should be ignored but \ should give a backlash</p>
-</article>
-</body>
-</html>
\ No newline at end of file
+</article>
\ No newline at end of file
diff --git
a/test/test_files/index.html.ignoring
b/test/test_files/index.html.ignoring
index 54b41722b2764caaaf75e597cb324d8bbd4612ec..8643e6f97073dab64c0cdd9c49e775daedebae8f 100644
(file)
--- a/
test/test_files/index.html.ignoring
+++ b/
test/test_files/index.html.ignoring
@@
-1,20
+1,14
@@
<!DOCTYPE html>
<!DOCTYPE html>
-<html>
-<head>
<meta charset="UTF-8">
<style type="text/css">
h1 { font-size: 2em; }
</style>
<link rel="alternate" type="application/rss+xml" title="atom feed" href="feed.xml" />
<title>Yet another blog</title>
<meta charset="UTF-8">
<style type="text/css">
h1 { font-size: 2em; }
</style>
<link rel="alternate" type="application/rss+xml" title="atom feed" href="feed.xml" />
<title>Yet another blog</title>
-</head>
-<body>
<h1>Yet another blog</h1>
<p><a href="feed.xml">feed</a></p>
<ul>
<li><a href="foo.html">a title with some nasty characters: &<>"' %BODY%</a> (<time>IGNORE</time>)</li>
<li><a href="bar%20baz.html">foo</a> (<time>IGNORE</time>)</li>
<li><a href="test.html">foo <em>bar</em> <strong>baz</strong></a> (<time>IGNORE</time>)</li>
<h1>Yet another blog</h1>
<p><a href="feed.xml">feed</a></p>
<ul>
<li><a href="foo.html">a title with some nasty characters: &<>"' %BODY%</a> (<time>IGNORE</time>)</li>
<li><a href="bar%20baz.html">foo</a> (<time>IGNORE</time>)</li>
<li><a href="test.html">foo <em>bar</em> <strong>baz</strong></a> (<time>IGNORE</time>)</li>
-</ul>
-</body>
-</html>
\ No newline at end of file
+</ul>
\ No newline at end of file
diff --git
a/test/test_files/test.html.ignoring
b/test/test_files/test.html.ignoring
index 454343ffc33a2d48da34967506814a2847f52732..fbdf75e5d6b9dad665eeba35ddb9fe7a96c2fcf5 100644
(file)
--- a/
test/test_files/test.html.ignoring
+++ b/
test/test_files/test.html.ignoring
@@
-1,6
+1,4
@@
<!DOCTYPE html>
<!DOCTYPE html>
-<html>
-<head>
<meta charset="UTF-8">
<style type="text/css">
h1 { font-size: 2em; }
<meta charset="UTF-8">
<style type="text/css">
h1 { font-size: 2em; }
@@
-13,8
+11,6
@@
header h1 { margin-bottom: 0.1em; }
header p { margin: 0; }
</style>
<title>Yet another blog – foo bar baz</title>
header p { margin: 0; }
</style>
<title>Yet another blog – foo bar baz</title>
-</head>
-<body>
<a href="index.html">Yet another blog</a>
<article>
<header>
<a href="index.html">Yet another blog</a>
<article>
<header>
@@
-24,6
+20,4
@@
header p { margin: 0; }
<p>foo</p>
<h2 id="bar">bar</h2>
<p>baz</p>
<p>foo</p>
<h2 id="bar">bar</h2>
<p>baz</p>
-</article>
-</body>
-</html>
\ No newline at end of file
+</article>
\ No newline at end of file