summaryrefslogtreecommitdiff
path: root/t/data/spin/output
diff options
context:
space:
mode:
authorRuss Allbery <rra@cpan.org>2021-07-18 22:28:34 -0700
committerRuss Allbery <rra@cpan.org>2021-07-19 22:55:59 -0700
commit714341951009e20d31db32aca1c8ea57c7a5a677 (patch)
tree04e3d6cac9e53e34df5c1f7bcc705f76a8c51bc4 /t/data/spin/output
parentd939ba3bdca01ddb72ad5a88e762f56c2ef12a97 (diff)
Add test for spinning a single file
Test spinning a single file with App::DocKnot::Spin and change just enough to get the test to pass. Hard-code the old version number for now, since there doesn't seem to be an immediately obvious way to get it. Don't use standard output when spinning a single file since it confuses prove somehow.
Diffstat (limited to 't/data/spin/output')
-rw-r--r--t/data/spin/output/index.html89
-rw-r--r--t/data/spin/output/names.pngbin0 -> 921 bytes
2 files changed, 89 insertions, 0 deletions
diff --git a/t/data/spin/output/index.html b/t/data/spin/output/index.html
new file mode 100644
index 0000000..566f02d
--- /dev/null
+++ b/t/data/spin/output/index.html
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Russ Allbery (Eagle)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" href="/~eagle/styles/basic.css" type="text/css" />
+ <link rel="alternate" type="application/rss+xml" href="changes.rss"
+ title="Changes to Russ Allbery's Web Pages" />
+</head>
+
+<!-- Spun from index.th by spin %VERSION% on %DATE% -->
+
+<body>
+
+<h1 class="shadowed"><img src="names.png" alt="Eagle" width="414" height="89" /></h1>
+
+<blockquote class="quote"><p class="broken">
+ All that is gold does not glitter,<br />
+ Not all those who wander are lost;<br />
+ The old that is strong does not wither,<br />
+ Deep roots are not reached by the frost.
+</p><p class="attribution">
+ J. R. R. Tolkien,
+ <cite>The Fellowship of the Ring</cite>
+</p></blockquote>
+
+<p class="navbar">
+ <strong>Technical:</strong>
+ <a href="software/">Software</a> &ndash;
+ <a href="faqs/">FAQs</a> &ndash;
+ <a href="notes/">Technical Notes</a>
+ <br />
+ <strong>Creative:</strong>
+ <a href="reviews/">Reviews</a> &ndash;
+ <a href="stories/">Stories</a> &ndash;
+ <a href="writing/">Other Writing</a> &ndash;
+ <a href="photos/">Photos</a>
+ <br />
+ <strong>Usenet:</strong>
+ <a href="usefor/">Article Format</a> &ndash;
+ <a href="nntp/">NNTP</a> &ndash;
+ <a href="big-8/">Big Eight</a>
+ <br />
+ <strong>Personal:</strong>
+ <a href="personal/">About</a> &ndash;
+ <a href="links/">Links</a> &ndash;
+ <a href="journal/">Journal</a>
+ <br />
+ <strong>Meta:</strong>
+ <a href="changes.html">Change Log</a> &ndash;
+ <a href="sitemap.html">Sitemap</a>
+</p>
+
+<p>
+It has been said that the web is a triumph of form over content. The
+Internet equivalent of television. The medium designed for people with
+five second attention spans. Well, anything that can only hold my
+attention for five seconds, I don't want to see in the first place. I
+like words. I don't like pointless graphics. I don't have a burning
+desire to click on everything I see. And so, these are my web pages.
+</p>
+
+<p>
+An attempt to create a triumph of content over form, if you will.
+</p>
+
+<p>
+Graphics are sparse. Text is common. Links are present only when they
+add something to the content. All pages are validated
+<a href="notes/xhtml.html">XHTML</a>, as strict as possible, with all formatting
+information in style sheets, so that they will be readable on any
+standards-compliant browser. And somewhere herein is, I hope, something
+that will capture your attention for more than five seconds.
+</p>
+
+<p>
+Welcome.
+</p>
+
+<address>
+ Last <a href="https://www.eyrie.org/~eagle/software/web/">spun</a>
+ %DATE% from thread modified %DATE%
+</address>
+</body>
+</html>
diff --git a/t/data/spin/output/names.png b/t/data/spin/output/names.png
new file mode 100644
index 0000000..c54a4bf
--- /dev/null
+++ b/t/data/spin/output/names.png
Binary files differ