* [PATCH] skip tests requiring String#b on 1.9.3
@ 2015-02-05 20:47 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-02-05 20:47 UTC (permalink / raw)
To: yahns-public; +Cc: Eric Wong
While 1.9.3 support will probably be kept for another year or so,
it's probably not worth supporting non-critical extras/ stuff on
1.9.3.
---
| 1 +
| 1 +
2 files changed, 2 insertions(+)
--git a/test/test_extras_autoindex.rb b/test/test_extras_autoindex.rb
index e17234f..d00a620 100644
--- a/test/test_extras_autoindex.rb
+++ b/test/test_extras_autoindex.rb
@@ -11,6 +11,7 @@ class TestExtrasAutoindex < Testcase
def setup
@tmpdir = Dir.mktmpdir
server_helper_setup
+ skip 'Ruby 2.x required' unless ''.respond_to?(:b)
end
def teardown
--git a/test/test_extras_try_gzip_static.rb b/test/test_extras_try_gzip_static.rb
index 44fb867..ae99130 100644
--- a/test/test_extras_try_gzip_static.rb
+++ b/test/test_extras_try_gzip_static.rb
@@ -12,6 +12,7 @@ class TestExtrasTryGzipStatic < Testcase
def setup
@tmpdir = Dir.mktmpdir
server_helper_setup
+ skip 'Ruby 2.x required' unless ''.respond_to?(:b)
end
def teardown
--
EW
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-05 20:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-05 20:47 [PATCH] skip tests requiring String#b on 1.9.3 Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/yahns.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).