Skip to content

Commit 1643baa

Browse files
authored
Merge pull request Homebrew#226912 from Homebrew/quran-test
quran: update test
2 parents d801632 + 0dcf4dd commit 1643baa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Formula/q/quran.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ def install
2929
end
3030

3131
test do
32-
op = shell_output("#{bin}/quran 1:1").strip
33-
assert_equal "In the Name of Allah—the Most Compassionate, Most Merciful.", op
32+
assert_match "Saheeh International", shell_output("#{bin}/quran ls-translations")
33+
34+
op = shell_output("#{bin}/quran -trans 20 1:1").strip
35+
assert_equal "In the name of Allāh, the Entirely Merciful, the Especially Merciful.", op
3436
end
3537
end

0 commit comments

Comments
 (0)