Skip to content

Commit

Permalink
refactor(mdbook-catppuccin): remove tests & completion
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham authored Sep 23, 2024
1 parent 83668f4 commit 7aa7add
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Formula/mdbook-catppuccin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,5 @@ class MdbookCatppuccin < Formula

def install
system "cargo", "install", *std_cargo_args
generate_completions_from_executable(bin/"mdbook-catppuccin", "completion")
end

test do
(testpath/"book.toml").write("")

system bin/"mdbook-catppuccin", "install"

assert_predicate (testpath/"theme/index.hbs"), :exist?
assert_predicate (testpath/"theme/catppuccin.css"), :exist?
assert_predicate (testpath/"theme/catppuccin-admonish.css"), :exist?
end
end

0 comments on commit 7aa7add

Please sign in to comment.