Fix analytics spec
This commit is contained in:
parent
f96d518504
commit
25d4e90583
@ -184,7 +184,7 @@ RSpec.describe Utils::Analytics do
|
||||
end
|
||||
|
||||
specify "::table_output" do
|
||||
results = { ack: 10, wget: 100 }
|
||||
results = { "ack" => 10, "wget" => 100 }
|
||||
expect { described_class.table_output("install", "30", results) }
|
||||
.to output(/110 | 100.00%/).to_stdout
|
||||
.and not_to_output.to_stderr
|
||||
|
@ -360,7 +360,7 @@ module Utils
|
||||
nil
|
||||
end
|
||||
|
||||
sig { returns(T::Hash[Symbol, String]) }
|
||||
sig { returns(T::Hash[Symbol, T.any(T::Boolean, String)]) }
|
||||
def default_package_tags
|
||||
cache[:default_package_tags] ||= begin
|
||||
# Only display default prefixes to reduce cardinality and improve privacy
|
||||
|
Loading…
x
Reference in New Issue
Block a user