File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11class OhMyPosh < Formula
22 desc "Prompt theme engine for any shell"
33 homepage "https://ohmyposh.dev"
4- url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/refs/tags/v26.0.2 .tar.gz"
5- sha256 "bc54fc7f2a230db84e4d3855dc1f745099aa311abcc2f31769307d43996ccb7b "
4+ url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/refs/tags/v26.0.5 .tar.gz"
5+ sha256 "1145d4b8fac36a0b99f7a2e69530c02b9008a84c844c182c26f626ea2056f472 "
66 license "MIT"
77 head "https://github.com/JanDeDobbeleer/oh-my-posh.git" , branch : "main"
88
@@ -41,7 +41,8 @@ def install
4141 end
4242
4343 test do
44- assert_match "init.#{ version } .default.sh" , shell_output ( "#{ bin } /oh-my-posh init bash" )
4544 assert_match version . to_s , shell_output ( "#{ bin } /oh-my-posh version" )
45+ output = shell_output ( "#{ bin } /oh-my-posh init bash" )
46+ assert_match ( %r{.cache/oh-my-posh/init\. #{ version } \. default\. \d +\. sh} , output )
4647 end
4748end
You can’t perform that action at this time.
0 commit comments