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