[Surfraw-commits] [surfraw] 01/01: fix some tests

Ian Beckwith ianb at moszumanska.debian.org
Mon Dec 5 06:28:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

ianb pushed a commit to branch master
in repository surfraw.

commit 941713969153b074490112154f21979f7fe6f4df
Author: Ian Beckwith <ianb at erislabs.net>
Date:   Mon Dec 5 06:28:00 2016 +0000

    fix some tests
---
 elvi/commandlinefu   | 0
 test/bbcnews.test    | 2 +-
 test/bookfinder.test | 2 +-
 test/bugmenot.test   | 4 ++--
 test/lastfm.test     | 4 ++--
 test/pubmed.test     | 2 +-
 test/webster.test    | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/elvi/commandlinefu b/elvi/commandlinefu
old mode 100644
new mode 100755
diff --git a/test/bbcnews.test b/test/bbcnews.test
index 86aea09..fa3e34a 100644
--- a/test/bbcnews.test
+++ b/test/bbcnews.test
@@ -1,4 +1,4 @@
 bbcnews minister
-\d+ results
+Prime Minister
 
 
diff --git a/test/bookfinder.test b/test/bookfinder.test
index f81e0d0..d6ee4ea 100644
--- a/test/bookfinder.test
+++ b/test/bookfinder.test
@@ -1,6 +1,6 @@
 bookfinder 1984
 Nineteen Eighty-Four
 bookfinder -search=isbn 1556229119
-Publisher: Wordware, 2002
+Publisher:.*Jones.*Bartlett
 bookfinder -search=author Carl Sagan
 Pale Blue Dot
diff --git a/test/bugmenot.test b/test/bugmenot.test
index ff70491..42fc676 100644
--- a/test/bugmenot.test
+++ b/test/bugmenot.test
@@ -1,2 +1,2 @@
-bugmenot smh.com.au
-Account Details
+bugmenot latimes.com
+Username:
diff --git a/test/lastfm.test b/test/lastfm.test
index 5f30722..cb72046 100644
--- a/test/lastfm.test
+++ b/test/lastfm.test
@@ -1,2 +1,2 @@
-lastfm people make me sick
-Rope to the Sky
+lastfm freedom has come and gone
+Ring Them Bells
diff --git a/test/pubmed.test b/test/pubmed.test
index b7690bc..7ea7a48 100644
--- a/test/pubmed.test
+++ b/test/pubmed.test
@@ -1,2 +1,2 @@
 pubmed fluoxetine
-Results: 1 to 20 of \d+
+Items: 1 to 20 of \d+
diff --git a/test/webster.test b/test/webster.test
index 34fe0b6..9c6c1eb 100644
--- a/test/webster.test
+++ b/test/webster.test
@@ -1,2 +1,2 @@
 webster quotidian
-<div class="example-sentences"><h2><span>Examples of <em>QUOTIDIAN</em></span>
+Examples of.*quotidian

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/surfraw/surfraw.git



More information about the Surfraw-commits mailing list