diff --git a/metrics/rfvh.sh b/metrics/rfvh.sh index 3b2ca6e6..81a7d498 100755 --- a/metrics/rfvh.sh +++ b/metrics/rfvh.sh @@ -53,4 +53,4 @@ else rfvh=0 fi -echo "rfvh ${rfvh} Relative File Volatility by Hits for file" > "${output}" \ No newline at end of file +echo "RFVH ${rfvh} Relative File Volatility by Hits for file" > "${output}" \ No newline at end of file diff --git a/tests/metrics/test-rfvh.sh b/tests/metrics/test-rfvh.sh index aad6e25f..0c44ee36 100755 --- a/tests/metrics/test-rfvh.sh +++ b/tests/metrics/test-rfvh.sh @@ -53,18 +53,18 @@ stdout=$2 git add "${java1}" git commit --quiet -m "first commit" ${metric_script_path} "${java1}" "stdout" - grep "rfvh 1" "stdout" + grep "RFVH 1" "stdout" printf "class Foo {}" > "${java2}" git add "${java2}" git commit --quiet -m "+second commit" ${metric_script_path} "${java1}" "stdout" - grep "rfvh 0.5" "stdout" + grep "RFVH 0.5" "stdout" printf "class Foo {}" > "${java3}" git add "${java3}" git commit --quiet -m "-third commit" ${metric_script_path} "${java1}" "stdout" - grep "rfvh 0.33" "stdout" + grep "RFVH 0.33" "stdout" } > "${stdout}" 2>&1 echo "👍🏻 Correctly calculated relative file volatility by hits" \ No newline at end of file