Skip to content

Commit

Permalink
Fix journey tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Apr 15, 2022
1 parent d58f624 commit 90f6bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function in-clone-of () {
cd $repo_dir 2>/dev/null || {
cd "$base_dir"
_note running "${GREEN}" "git clone $repo_url"
expect_run 0 git clone $repo_url
expect_run 0 git clone --depth 1 $repo_url
cd $repo_name
}
}
2 changes: 1 addition & 1 deletion tests/stateless-journey.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function remove_bytecounts() {
(sandbox
(with "a newly initialized cargo project"
step "init cargo project" &&
expect_run ${SUCCESSFULLY} cargo init --name library --bin
expect_run ${SUCCESSFULLY} cargo init --edition 2018 --name library --bin

(with "the --dry-run flag set"
it "runs successfully and states the crate is lean" && {
Expand Down

0 comments on commit 90f6bda

Please sign in to comment.