From 743dd1dba7a863ffbddffea9d8171cc0519871c9 Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Mon, 5 Nov 2018 22:45:27 +0000 Subject: Update test expectations --- test/test-pages/gmw/expected.html | 12 +++---- test/test-pages/keep-images/expected-metadata.json | 2 +- test/test-pages/keep-images/expected.html | 38 +++++++++++----------- test/test-pages/remove-extra-brs/expected.html | 27 ++++++++------- .../table-style-attributes/expected.html | 38 +++++++++++----------- 5 files changed, 61 insertions(+), 56 deletions(-) (limited to 'test') diff --git a/test/test-pages/gmw/expected.html b/test/test-pages/gmw/expected.html index 13ed014..1b69754 100644 --- a/test/test-pages/gmw/expected.html +++ b/test/test-pages/gmw/expected.html @@ -1,8 +1,8 @@

2017-03-10 09:58 来源:网易科学人 

- - - + + +

  翱翔于距地球数千公里的太空中,进入广袤漆黑的未知领域,是一项艰苦卓绝的工作。这让人感到巨大压力和极度恐慌。那么,为什么不能让宇航员来一杯“地球末日”鸡尾酒来放松一下?

  不幸的是,对于希望能喝上一杯的太空探险者,那些将他们送上太空的政府机构普遍禁止他们染指包括酒在内的含酒精饮料。

  但是,很快普通人都会有机会向人类“最终的边疆”出发——以平民化旅行的形式,去探索和殖民火星。确实,火星之旅将是一次令人感到痛苦的旅行,可能一去不复返并要几年时间才能完成,但是否应该允许参与者在旅程中痛饮一番?或至少携带能在火星上发酵自制酒精饮料的设备?

@@ -51,8 +51,8 @@

  作者︱春春

- +

[责任编辑:肖春芳]

- - + +
\ No newline at end of file diff --git a/test/test-pages/keep-images/expected-metadata.json b/test/test-pages/keep-images/expected-metadata.json index 3956602..6c2c29a 100644 --- a/test/test-pages/keep-images/expected-metadata.json +++ b/test/test-pages/keep-images/expected-metadata.json @@ -1,5 +1,5 @@ { - "Title": "Inside the Deep Web Drug Lab — Backchannel — Medium", + "Title": "Inside the Deep Web Drug Lab", "Author": "Joseph Cox", "Excerpt": "Welcome to DoctorX’s Barcelona lab, where the drugs you bought online are tested for safety and purity. No questions ask…" } diff --git a/test/test-pages/keep-images/expected.html b/test/test-pages/keep-images/expected.html index 30597de..d3696f7 100644 --- a/test/test-pages/keep-images/expected.html +++ b/test/test-pages/keep-images/expected.html @@ -4,16 +4,16 @@
- +

- - + +

Welcome to DoctorX’s Barcelona lab, where the drugs you bought online are tested for safety and purity. No questions asked.

- +
- +

Standing at a table in a chemistry lab in Barcelona, Cristina Gil Lladanosa tears open a silver, smell-proof protective envelope. She slides out a @@ -31,7 +31,7 @@

- +

Cristina Gil Lladanosa, at the Barcelona testing lab | photo by Joan Bardeletti
@@ -61,7 +61,7 @@
- +

Photo by Joan Bardeletti
@@ -76,7 +76,7 @@
- +

Photo by Joan Bardeletti
@@ -101,7 +101,7 @@ that numbs the gums, giving the impression that the user is taking higher quality cocaine; and common caffeine.

- +

The deep web drug lab is the brainchild of Fernando Caudevilla, a Spanish physician who is better known as “DoctorX” on the deep web, a nickname @@ -114,7 +114,7 @@

- +

Fernando Caudevilla, AKA DoctorX. Photo: Joseph Cox
@@ -158,12 +158,12 @@
- +

Photo: Joseph Cox
- +

While the Energy Control lab in Madrid lab only tests Spanish drugs from various sources, it is the Barcelona location which vets the substances @@ -190,7 +190,7 @@

- +

Photo by Joan Bardeletti
@@ -229,12 +229,12 @@
- +

Photo by Joan Bardeletti
- +

Despite the prevalence of people using the service to gauge the quality of what goes up their nose, many users send samples to Energy Control in @@ -273,7 +273,7 @@

- +

Photo by Joan Bardeletti
@@ -298,7 +298,7 @@
- +

Photo by Joan Bardeletti
@@ -355,7 +355,7 @@
- +

Photo by Joan Bardeletti
@@ -368,7 +368,7 @@ had it shipped to their doorstep in Canada, got hold of some seriously good, and relatively safe drugs. And now they know it.

- +

Top photo by Joan Bardeletti

diff --git a/test/test-pages/remove-extra-brs/expected.html b/test/test-pages/remove-extra-brs/expected.html index 71ff530..e064a49 100644 --- a/test/test-pages/remove-extra-brs/expected.html +++ b/test/test-pages/remove-extra-brs/expected.html @@ -1,11 +1,16 @@ - -
-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

-

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-

Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

-

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
\ No newline at end of file +
+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod + tempor incididunt ut labore et dolore magna aliqua.

+

Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+

Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat.

+

Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
\ No newline at end of file diff --git a/test/test-pages/table-style-attributes/expected.html b/test/test-pages/table-style-attributes/expected.html index 75a5b35..4d2e894 100644 --- a/test/test-pages/table-style-attributes/expected.html +++ b/test/test-pages/table-style-attributes/expected.html @@ -3,54 +3,54 @@ linux usability

...or, why do I bother.


© 2002, 2003 Jamie Zawinski

- - + +

In December 2002, I tried to install some software on my computer. The experience was, shall we say, less than pleasant. On many levels. I wrote about my experience, as I so often do.

Then in January, the jackasses over at Slashdot posted a link to it, calling it a "review" of Linux video software. I guess you could consider it a review, if you were to squint at it just right. But really what it is is a rant about how I had an evening stolen from me by crap software design. It is a flame about the pathetic state of Linux usability in general, and the handful of video players I tried out in particular. It makes no attempt to be balanced or objective or exhaustive. It is a description of my experience. Perhaps your experience was different. Good for you.

So of course that day I got hundreds of emails about it. Every Linux apologist in the world wanted to make sure I was fully informed of their opinion. The replies were roughly in the following groups:

- +
  • "Right on! I had exactly the same experience! Thank you for putting it into words." (This was about 1/3 of the replies.) - +
  • "You're clearly an idiot, Linux is too sophisticated for you, you clearly are incapable of understanding anything, you should go back to kindergarten and/or use a Mac." (Oddly, all of these messages used the word `clearly' repeatedly.) - +
  • "If you don't like it, fix it yourself." - +
  • "Netscape sucks! XEmacs sucks! You suck! I never liked you anyway! And you swear too much!" - +
  • "How dare you criticize someone else's work! You got it for free! You should be on your knees thanking them for wasting your time!" - +
  • "While you have some valid complaints, I'm going to focus on this one inconsequential error you made in your characterization of one of the many roadblocks you encountered. You suck!" - +
  • "It's your fault for using Red Hat! You should be using Debian/Mandrake/Gentoo instead!" - +
  • "Red Hat 7.2 is totally obsolete! It's almost 14 months old! What were you expecting!"

While I am flattered that so many logorrheic Linux fanboys are sufficiently interested in my opinions and experiences to share their deeply heartfelt views with me, you can all rest assured that:

- +
    • I've heard it before; and
    • I didn't care the first time.

So please. Don't bother sending me any more mail about this. It's a near certainty that I will just delete it unread, so you might as well not waste your time. Feel free to call me names on your own web page if you feel the need to get it out of your system. But kindly stay out of my inbox. - - + +

- +

that said...

I understand that one can play videos on one's computer. I understand these videos come in many different formats. Every now and then I try to figure out what the Done Thing is, as far as playing movies on one's Linux machine.

- +

I finally found RPMs of mplayer that would consent to install themselves on a Red Hat 7.2 machine, and actually got it to play some videos. Amazing. But it's a total pain in the ass to use due to rampant "themeing." Why do people do this? They map this stupid shaped window with no titlebar (oh, sorry, your choice of a dozen stupidly-shaped windows without titlebars) all of which use fonts that are way too small to read. But, here's the best part, there's no way to raise the window to the top. So if another window ever gets on top of it, well, sorry, you're out of luck. And half of the themes always map the window at the very bottom of the screen -- conveniently under my panel where I can't reach it.

Resizing the window changes the aspect ratio of the video! Yeah, I'm sure someone has ever wanted that.

@@ -64,9 +64,9 @@ RPMs, and it sucks about the same as mplayer, and in about the same ways, th

Then I checked out Ogle again, and it hasn't been updated since the last time I tried, six months ago. It's a pretty decent DVD player, if you have the physical DVD. It does on-screen menus, and you can click on them with the mouse. But I don't need a DVD player (I have a hardware DVD player that works just fine.) It can't, as far as I can tell, play anything but actual discs.

Oh, and even though I have libdvdcss installed (as evidenced by the fact that Ogle actually works) Xine won't play the same disc that Ogle will play. It seems to be claiming that the CSS stuff isn't installed, which it clearly is.

An idiocy that all of these programs have in common is that, in addition to opening a window for the movie, and a window for the control panel, they also spray a constant spatter of curses crud on the terminal they were started from. I imagine at some point, there was some user who said, ``this program is pretty nice, but you know what it's missing? It's missing a lot of pointless chatter about what plugins and fonts have been loaded!''

- +
And here's the Random Commentary section: - +
Makali wrote:
    Whenever a programmer thinks, "Hey, skins, what a cool idea", their @@ -88,7 +88,7 @@ RPMs, and it sucks about the same as mplayer, and in about the same ways, th

    Really the only thing that's stopping me is that I fear the Emacs situation.

    (By which I mean, ``Lack of a usable version thereof.'' No, running RMSmacs inside a terminal window doesn't qualify. Nor does running an X server on the Mac: if I were going to switch, why in the world would I continue inflicting the X Windows Disaster on myself? Wouldn't getting away from that be the whole point?)

    - +
      (I understand there is an almost-functional Aqua version of RMSmacs now. I'll probably check it out at some point, but the problem with me switching from XEmacs to RMSmacs is that it would probably result in another Slashdork post, meaning I'd wake up to another 150+ poorly spelled flames in my inbox... I'm hoping for a Aquafied XEmacs, but I know that's not likely to happen any time soon.) @@ -96,7 +96,7 @@ RPMs, and it sucks about the same as mplayer, and in about the same ways, th question -- no matter how simple -- results in someone suggesting that you either A) patch your kernel or B) change distros. It's inevitable and inescapable, like Hitler.

- +

[ up ]

\ No newline at end of file -- cgit v1.2.3