diff --git a/docs/registry.md b/docs/registry.md index 6ae152e44..99005a187 100644 --- a/docs/registry.md +++ b/docs/registry.md @@ -337,7 +337,6 @@ editLink: false | jmespath | | | jmeter | | | jnv | | -| jq | | | jqp | | | jreleaser | | | jsonnet | | @@ -607,9 +606,7 @@ editLink: false | serverless | | | setup-envtest | | | shell2http | | -| shellcheck | | | shellspec | | -| shfmt | | | shorebird | | | sinker | | | skaffold | | @@ -695,7 +692,6 @@ editLink: false | thrift | | | tilt | | | timoni | | -| tiny | | | tinytex | | | titan | | | tlsg-cli | | diff --git a/src/cli/generate/git_pre_commit.rs b/src/cli/generate/git_pre_commit.rs index ecea93e9e..98ea3b2b6 100644 --- a/src/cli/generate/git_pre_commit.rs +++ b/src/cli/generate/git_pre_commit.rs @@ -67,7 +67,9 @@ mod tests { #[test] fn test_git_pre_commit() { reset(); + setup_git_repo(); assert_cli_snapshot!("generate", "pre-commit", "--task=testing123"); + cleanup(); } #[test] fn test_git_pre_commit_write() { diff --git a/src/cli/generate/github_action.rs b/src/cli/generate/github_action.rs index 08ff5f964..bc412bac5 100644 --- a/src/cli/generate/github_action.rs +++ b/src/cli/generate/github_action.rs @@ -93,7 +93,9 @@ mod tests { #[test] fn test_github_action() { reset(); + setup_git_repo(); assert_cli_snapshot!("generate", "github-action"); + cleanup(); } #[test] fn test_github_action_write() { @@ -109,7 +111,7 @@ mod tests { let path = Git::get_root() .unwrap() .join(".github/workflows/testing123.yml"); - let contents = file::read_to_string(&path).unwrap(); + let contents = file::read_to_string(path).unwrap(); assert_snapshot!(contents); cleanup(); }