File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 11class Bkmr < Formula
22 desc "Unified CLI Tool for Bookmark, Snippet, and Knowledge Management"
33 homepage "https://github.com/sysid/bkmr"
4- url "https://github.com/sysid/bkmr/archive/refs/tags/v5.1 .1.tar.gz"
5- sha256 "95da6d320acd7d66b872806ff874408d9102f96de959d43cc298c6834da6cc3a "
4+ url "https://github.com/sysid/bkmr/archive/refs/tags/v6.2 .1.tar.gz"
5+ sha256 "48ab7e312ec7adac65cf32b997a17eedd4a3d42e75c3f8b7d95bd2a6fa86a959 "
66 license "BSD-3-Clause"
77 head "https://github.com/sysid/bkmr.git" , branch : "main"
88
@@ -34,15 +34,12 @@ def install
3434
3535 system "cargo" , "install" , *std_cargo_args
3636 end
37-
38- generate_completions_from_executable ( bin /"bkmr" , "completion" )
3937 end
4038
4139 test do
4240 assert_match version . to_s , shell_output ( "#{ bin } /bkmr --version" )
4341
44- output = shell_output ( "#{ bin } /bkmr info" )
45- assert_match "Database URL: #{ testpath } /.config/bkmr/bkmr.db" , output
46- assert_match "Database Statistics" , output
42+ expected_output = "No database configured or the configured database does not exist."
43+ assert_match expected_output , shell_output ( "#{ bin } /bkmr info 2>&1" , 1 )
4744 end
4845end
You can’t perform that action at this time.
0 commit comments