rails/activesupport/test/core_ext
Jonathan Hefner bb17d787c8 Ensure {down,up}case_first returns non-frozen string
Prior to this commit, `String#downcase_first` and `String#upcase_first`
would return a frozen string when called on an empty string:

  ```ruby
  # BEFORE
  "foo".downcase_first.frozen? # => false
  "".downcase_first.frozen?    # => true

  # AFTER
  "foo".downcase_first.frozen? # => false
  "".downcase_first.frozen?    # => false
  ```
2023-10-29 12:28:06 -05:00
..
array Remove deprecated option to passing a format to #to_s 2023-03-03 00:38:30 +00:00
class Class attribute writer is a public method 2020-10-02 15:53:46 +09:00
digest Remove deprecated support to generate incorrect RFC 4122 UUIDs 2023-03-03 00:38:36 +00:00
hash Remove deprecated file active_support/core_ext/hash/transform_values 2020-10-30 00:25:58 +00:00
kernel allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
module Merge pull request #45918 from jonathanhefner/thread_mattr_accessor-default-require-frozen 2022-09-01 16:03:18 -05:00
object Fix Object.with test class name typo 2023-10-24 07:51:40 -07:00
pathname Pathname.blank? only returns true for Pathname.new("") 2022-02-19 09:54:58 +01:00
bigdecimal_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
class_test.rb Filter reloaded classes in Class#subclasses and Class#descendants core exts 2022-09-28 12:08:58 +02:00
date_and_time_behavior.rb Add quarter method to date/time (#45009) 2022-07-14 16:43:52 -07:00
date_and_time_compatibility_test.rb Add missing assert_not_deprecated deprecator args 2022-11-09 12:07:29 -06:00
date_ext_test.rb Don't use deprecated #to_default_s in Date#to_fs 2023-10-22 17:17:42 +09:00
date_time_ext_test.rb Remove deprecated option to passing a format to #to_s 2023-03-03 00:38:30 +00:00
duration_test.rb [Tests only] Enable Minitest/AssertPredicate rule 2023-10-13 19:26:47 +00:00
enumerable_test.rb Fix defect in Enumerable#many introduced in rails/rails@d862dff 2023-06-06 17:41:44 -04:00
erb_util_test.rb rubocop 2022-10-09 15:54:42 -07:00
file_test.rb atomic write race condition 2022-01-16 16:54:58 -08:00
hash_ext_test.rb Remove deprecated override of ActiveSupport::TimeWithZone.name 2023-03-03 00:38:31 +00:00
integer_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
kernel_test.rb [Active Support] Add explicit assertions to tests with no assertions 2022-02-15 23:44:25 +00:00
load_error_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
module_test.rb Fix delegation to a method with implicit block. 2023-04-10 19:28:26 +02:00
name_error_test.rb Remove all version checking for older Rubies in tests 2021-02-05 13:21:45 +09:00
numeric_ext_test.rb Handle negative numbers in NumberToHumanSizeConverter 2023-10-26 18:07:15 +02:00
range_ext_test.rb Fix Range#overlap? ignoring empty ranges 2023-09-22 19:48:49 -04:00
regexp_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
secure_random_test.rb Use SecureRandom.alphanumeric for SecureRandom.base36 2023-08-30 11:28:42 +02:00
string_ext_test.rb Ensure {down,up}case_first returns non-frozen string 2023-10-29 12:28:06 -05:00
symbol_ext_test.rb Removes Symbol#start_with? and Symbol#end_with? since they are defined in Ruby 2.7 2021-02-07 21:47:25 -03:00
time_ext_test.rb Remove deprecated option to passing a format to #to_s 2023-03-03 00:38:30 +00:00
time_with_zone_test.rb Enable Minitest/LiteralAsActualArgument 2023-09-13 10:09:32 +09:00