From 0dcf4dd3caa8fda22b40c333b30e10ff9ab14250 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 14 Jun 2025 11:34:49 -0400 Subject: [PATCH] quran: update test Signed-off-by: Rui Chen --- Formula/q/quran.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Formula/q/quran.rb b/Formula/q/quran.rb index 2af36afd2f09..07bca9de04c2 100644 --- a/Formula/q/quran.rb +++ b/Formula/q/quran.rb @@ -29,7 +29,9 @@ def install end test do - op = shell_output("#{bin}/quran 1:1").strip - assert_equal "In the Name of Allah—the Most Compassionate, Most Merciful.", op + assert_match "Saheeh International", shell_output("#{bin}/quran ls-translations") + + op = shell_output("#{bin}/quran -trans 20 1:1").strip + assert_equal "In the name of Allāh, the Entirely Merciful, the Especially Merciful.", op end end