Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove shellcheck warning #607

Merged
3 changes: 1 addition & 2 deletions framework/lib/test_generation/bin/randoop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ ERR_BASE_NAME=ErrorTest
#shellcheck disable=SC2153 # D4J_DIR_TESTGEN_LIB is not a typo of D4J_DIR_TESTGEN_BIN
version=$(java -cp "$D4J_DIR_TESTGEN_LIB/randoop-current.jar" randoop.main.Main | head -1)
printf "\n(%s)" "$version" >&2
# shellcheck disable=SC1083
printf ".%.0s" {1..expr 73 - length "$version"} >&2
printf ".%.0s" \{1..expr 73 - length "$version"\} >&2
printf " " >&2

# The most common package in file $D4J_FILE_TARGET_CLASSES.
Expand Down