[Groonga-commit] ranguba/rroonga at a546bc2 [master] test: use Regexp as receiver

Back to archive index

Masafumi Yokoyama null+****@clear*****
Wed Feb 11 02:01:39 JST 2015


Masafumi Yokoyama	2015-02-11 02:01:39 +0900 (Wed, 11 Feb 2015)

  New Revision: a546bc29bce2a9baad3d3ad0e280c1f5f9a2c560
  https://github.com/ranguba/rroonga/commit/a546bc29bce2a9baad3d3ad0e280c1f5f9a2c560

  Message:
    test: use Regexp as receiver

  Modified files:
    test/groonga-test-utils.rb

  Modified: test/groonga-test-utils.rb (+2 -1)
===================================================================
--- test/groonga-test-utils.rb    2015-02-11 01:45:58 +0900 (95f7fb8)
+++ test/groonga-test-utils.rb    2015-02-11 02:01:39 +0900 (4445a5d)
@@ -1,3 +1,4 @@
+# Copyright (C) 2015  Masafumi Yokoyama <yokoyama �� clear-code.com>
 # Copyright (C) 2009-2014  Kouhei Sutou <kou �� clear-code.com>
 #
 # This library is free software; you can redistribute it and/or
@@ -166,7 +167,7 @@ module GroongaTestUtils
   end
 
   def linux?
-    RUBY_PLATFORM =~ /linux/
+    /linux/ =~ RUBY_PLATFORM
   end
 
   def only_linux
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index