Skip to content

Commit

Permalink
tests: Make all man tests generate only json
Browse files Browse the repository at this point in the history
  • Loading branch information
ysthakur committed Dec 25, 2023
1 parent 31a9dac commit 065d0e7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 115 deletions.
15 changes: 0 additions & 15 deletions tests/man_integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,6 @@ fn run_test(shell: &str, outputs: &[&str], args: &[&str]) {
assert!(not_generated.is_empty() && not_match.is_empty());
}

#[test]
fn test1_zsh() {
run_test("zsh", &["test1"], &["--cmds", "^test1"]);
}

#[test]
fn test1_bash() {
run_test("bash", &["test1"], &["--cmds", "^test1"]);
}

#[test]
fn test1_nu() {
run_test("nu", &["test1"], &["--cmds", "^test1"]);
}

#[test]
fn test1_json() {
run_test("json", &["test1"], &["--cmds", "^test1"]);
Expand Down
34 changes: 0 additions & 34 deletions tests/resources/man/expected/_test1.bash

This file was deleted.

45 changes: 0 additions & 45 deletions tests/resources/man/expected/_test1.zsh

This file was deleted.

21 changes: 0 additions & 21 deletions tests/resources/man/expected/test1-completions.nu

This file was deleted.

0 comments on commit 065d0e7

Please sign in to comment.