Skip to content

Commit

Permalink
NH-58499: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
xuan-cao-swi committed Sep 20, 2023
1 parent 6bd9542 commit 097f02f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/api/custom_metrics_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
it 'test_summary_metric_with_single_variable_with_failure' do
SolarWindsAPM::CustomMetrics.stub(:summary, 0) do
SolarWindsAPM::MetricTags.stub(:new, {}) do
result = SolarWindsAPM::API.summary_metric('abc', 7.7, 1, true, {} )
result = SolarWindsAPM::API.summary_metric('abc', 7.7, 1, true, {})
_(result).must_equal true
end
end
Expand Down
14 changes: 6 additions & 8 deletions test/minitest_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,19 +156,17 @@ class << self
# for custom_metrics_test.rb
module SolarWindsAPM
module CustomMetrics
def self.increment
end
def self.summary
end
def self.increment; end

def self.summary; end
end
end

module SolarWindsAPM
module MetricTags
def self.new
end
def self.add
end
def self.new; end

def self.add; end
end
end

Expand Down

0 comments on commit 097f02f

Please sign in to comment.