Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
kazu b15f8b6de9 lib/abbrev.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-09 16:12:00 +00:00
naruse 3e92b635fb Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
knu 4078d42b72 Fix a line matching problem in Abbrev.abbrev(words, "prefix").
* lib/abbrev.rb (Abbrev#abbrev): A fixed string prefix pattern
  should only match the beginning of each word, not the beginning
  of every line in it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 03:56:28 +00:00
knu aac52e2b87 Improve test data in test_abbrev.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 03:56:25 +00:00
knu 06c3b413f0 Add tests for lib/abbrev.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 03:35:01 +00:00