Skip to content

Commit

Permalink
improve func test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Aug 19, 2024
1 parent b06bdde commit 9173528
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/bats/20_hub_items.bats
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@ teardown() {
rune -0 jq '.scenarios | length' <(output)
assert_output 0

# link to ignored is not ignored
# link to ignored is not ignored, and the name comes from the link
rune -0 ln -s "$CONFIG_DIR/scenarios/.foo/hidden.yaml" "$CONFIG_DIR/scenarios/myfoo.yaml"
rune -0 cscli scenarios list -o json
rune -0 jq '.scenarios | length' <(output)
assert_output 1
rune -0 jq -c '[.scenarios[].name] | sort' <(output)
assert_json '["myfoo.yaml"]'
}

@test "item files can be links to links" {
Expand Down

0 comments on commit 9173528

Please sign in to comment.