Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit c9f9f88

Browse files
committed
Fix new_constants_selector method name.
1 parent 369809e commit c9f9f88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cc/formatters/snapshot_formatter.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def initialize(repo, payload)
6363

6464
private
6565

66-
def new_constant_selector
66+
def new_constants_selector
6767
Proc.new { |constant| to_rating(constant) < C }
6868
end
6969

@@ -91,7 +91,7 @@ def from_rating(constant)
9191
# Override the base snapshot formatter for be more lax grouping information.
9292
# This is useful to show more information for testing the service.
9393
class Sample < Base
94-
def new_constant_selector
94+
def new_constants_selector
9595
Proc.new { |_| true }
9696
end
9797

0 commit comments

Comments
 (0)