From fbb4d6ea0464df4c09c7701a98d983518c0a58f0 Mon Sep 17 00:00:00 2001 From: Joshua B Date: Thu, 29 Jul 2021 12:05:37 -0600 Subject: [PATCH] fix: updates bad paths in test --- bin/changelog | 1 - tests/{bashify => core}/array.bats | 2 +- tests/{bashify => core}/core.bats | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) rename tests/{bashify => core}/array.bats (96%) rename tests/{bashify => core}/core.bats (92%) diff --git a/bin/changelog b/bin/changelog index 9bd2496..66ef287 100755 --- a/bin/changelog +++ b/bin/changelog @@ -47,7 +47,6 @@ function update_changelog { tagRange="" MARKDOWN+='Initial Release' else - echo "${TAGS[@]}" # shellcheck disable=SC2076,SC2199 # array is done like this intentionally if ! array.contains "$published_version" "${TAGS[@]}"; then echo "Error creating changelog - publishedVersion $published_version does not exists" diff --git a/tests/bashify/array.bats b/tests/core/array.bats similarity index 96% rename from tests/bashify/array.bats rename to tests/core/array.bats index 4595e34..85c3cb1 100644 --- a/tests/bashify/array.bats +++ b/tests/core/array.bats @@ -1,6 +1,6 @@ #!/usr/bin/env bats load ../test_helper -core.import "array.sh" +core.import "array" # alias array.contains="array::contains" @test 'array contains' { diff --git a/tests/bashify/core.bats b/tests/core/core.bats similarity index 92% rename from tests/bashify/core.bats rename to tests/core/core.bats index bc863bd..86cf4bc 100644 --- a/tests/bashify/core.bats +++ b/tests/core/core.bats @@ -1,5 +1,5 @@ #!/usr/bin/env bats -source "$SHIPKIT_BIN/core/core" +source "$SHIPKIT_BIN/core/main" load ../test_helper @test 'core.rel_path' {