diff --git a/tests/test_changes.bats b/tests/test_changes.bats index 92cd52ab..eee8ef9e 100644 --- a/tests/test_changes.bats +++ b/tests/test_changes.bats @@ -96,8 +96,13 @@ function teardown { run git secret changes -d "$TEST_GPG_HOMEDIR" -p "$password" [ "$status" -eq 0 ] + #echo "# output is '$output'" >&3 + #echo "# " >&3 + # Testing that output has both filename and changes: local fullpath=$(_append_root_path "$FILE_TO_HIDE") + #echo "# fullpath is $fullpath" >&3 + [[ "$output" == *"changes in $fullpath"* ]] [[ "$output" == *"+$new_content"* ]]