Masafumi Yokoyama
null+****@clear*****
Wed Apr 8 15:03:40 JST 2015
Masafumi Yokoyama 2015-04-08 15:03:40 +0900 (Wed, 08 Apr 2015) New Revision: d8e162033f2ea41826882ce2cec510663a2a1488 https://github.com/ranguba/rroonga/commit/d8e162033f2ea41826882ce2cec510663a2a1488 Merged 9a8ebcf: Merge pull request #92 from ranguba/add-a-test-for-beginning-of-text-anchor-of-regexp Message: Add a test for beginning of text anchor (\A) of Regexp for query string GitHub: #70 Modified files: test/test-expression-builder.rb Modified: test/test-expression-builder.rb (+6 -0) =================================================================== --- test/test-expression-builder.rb 2015-04-08 14:55:52 +0900 (a20906e) +++ test/test-expression-builder.rb 2015-04-08 15:03:40 +0900 (8d1cac2) @@ -313,6 +313,12 @@ class ExpressionBuilderTest < Test::Unit::TestCase assert_equal([], result.collect {|record| record.key.key}.sort) end + + def test_beginning_of_text + result =****@users*****("name:~\\\\As") + assert_equal(["suzuki"], + result.collect {|record| record.key.key}.sort) + end end end -------------- next part -------------- HTML����������������������������... Download