Skip to content

Commit

Permalink
add test for compose_project_name func
Browse files Browse the repository at this point in the history
  • Loading branch information
keithbentrup committed Dec 17, 2020
1 parent f71b416 commit dfc5d6d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,10 @@ setup() {
run are_required_ports_free
assert_failure
}

@test '[docker] adjust_compose_project_name_for_docker_compose_reqs SomeProj-Env' {
shopt -u nocasematch
run adjust_compose_project_name_for_docker_compose_reqs "SomeProj-Env"
assert_success
assert_output "someproj-env"
}

0 comments on commit dfc5d6d

Please sign in to comment.