Merge pull request #39 from postmodern/add_test_case_for_underscore_to_camelcase

Added test cases for omitting multiple underscores from CamelCase strings
This commit is contained in:
Nikita Shilnikov 2022-01-13 09:46:30 +05:30 committed by GitHub
commit 1295b70bc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ module Fixtures
CASES = {
"merb" => "merb",
"data_mapper" => "dataMapper",
"data___mapper" => "dataMapper",
"data-mapper" => "dataMapper",
"data---mapper" => "dataMapper",
"dry/inflector" => "dry::Inflector",

View File

@ -13,6 +13,7 @@ module Fixtures
CASES = {
"merb" => "Merb",
"data_mapper" => "DataMapper",
"data___mapper" => "DataMapper",
"data-mapper" => "DataMapper",
"data---mapper" => "DataMapper",
"dry/inflector" => "Dry::Inflector",