Skip to content

Commit 9dfc3a3

Browse files
authored
Merge pull request #2988 from amatsuda/fix_benchmark
Fix benchmark:all_methods task by excluding Faker::Deprecator module from benchmark target
2 parents 97cfd1a + 3b2d4db commit 9dfc3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/benchmark.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class BenchmarkHelper
4848

4949
def subclasses
5050
Faker.constants.delete_if do |subclass|
51-
%i[Base Bank Books Cat Char Base58 ChileRut CLI Config Creature Date Dog DragonBall Dota ElderScrolls Fallout Games GamesHalfLife HeroesOfTheStorm Internet JapaneseMedia LeagueOfLegends Movies Myst Overwatch OnePiece Pokemon Religion Sports SwordArtOnline TvShows Time VERSION Witcher WorldOfWarcraft Zelda].include?(subclass)
51+
%i[Base Bank Books Cat Char Base58 ChileRut CLI Config Creature Date Deprecator Dog DragonBall Dota ElderScrolls Fallout Games GamesHalfLife HeroesOfTheStorm Internet JapaneseMedia LeagueOfLegends Movies Myst Overwatch OnePiece Pokemon Religion Sports SwordArtOnline TvShows Time VERSION Witcher WorldOfWarcraft Zelda].include?(subclass)
5252
end.sort
5353
end
5454

0 commit comments

Comments
 (0)