Skip to content

Commit d71bdcb

Browse files
BrewTestBotdaeho-ro
authored andcommitted
bkmr 6.2.1
1 parent 76cf335 commit d71bdcb

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Formula/b/bkmr.rb

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class 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
4845
end

0 commit comments

Comments
 (0)