Skip to content

Commit

Permalink
fixing the bracket error
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 committed Dec 3, 2024
1 parent dd814bb commit 588939c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion habitat/tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ package_version=$(awk -F / '{print $3}' <<<"$pkg_ident")
cd "${project_root}"

echo "--- :msg_right: Testing ${pkg_ident} executables"
actual_version=$(hab pkg exec "${pkg_ident}" cookstyle -v | sed -n 's/^Cookstyle \([0-9.]*\).*$/\1/p'
actual_version=$(hab pkg exec "${pkg_ident}" cookstyle -v | sed -n 's/^Cookstyle \([0-9.]*\).*$/\1/p')
[[ "$package_version" = "$actual_version" ]] || error "cookstyle version is not the expected version. Expected '$package_version', got '$actual_version'"

0 comments on commit 588939c

Please sign in to comment.