We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4670254 commit 1ec0ab1Copy full SHA for 1ec0ab1
1 file changed
test/cli_test.rb
@@ -9,6 +9,7 @@ def test_run(fixture_path, argv)
9
yield if block_given?
10
cli = TypeProf::CLI::CLI.new(argv)
11
cli.cli_options[:output] = output
12
+ cli.core_options[:display_indicator] = false
13
cli.run
14
end
15
output.string
@@ -104,7 +105,9 @@ def check: -> :ok
104
105
assert_equal(exp, test_run("rbs_collection_test", ["test.rb"]) do
106
lock_path = RBS::Collection::Config.to_lockfile_path(Pathname("rbs_collection.yaml").expand_path)
107
- RBS::Collection::Installer.new(lockfile_path: lock_path).install_from_lockfile
108
+ open(IO::NULL, "w") do |null_stdout|
109
+ RBS::Collection::Installer.new(lockfile_path: lock_path, stdout: null_stdout).install_from_lockfile
110
+ end
111
end)
112
113
0 commit comments