…lines 1–625 unchanged (625 lines)
626 "test_skip_with_messages: skipped - Not maintained, Archived upstream\n",
627 ).to_stdout
628 .and not_to_output.to_stderr
629
630 expect do
631 skip_conditions.print_skip_information(
632 formula: "test_error_with_messages",
633 status: "error",
634 messages: ["URL could not be fetched", "GitHub API rate limit exceeded"],
635 )
636 end.to output(
637 "test_error_with_messages: URL could not be fetched, GitHub API rate limit exceeded\n",
638 ).to_stdout
639 .and not_to_output.to_stderr
640 end
641 end
642
643 context "when the cask is deprecated without a `livecheck` block" do
644 it "prints skip information" do
645 expect { skip_conditions.print_skip_information(status_hashes[:cask][:deprecated]) }
…lines 646–696 unchanged (51 lines)