Fix expected error string in unit test to reflect the improved error
message in PR #9901.
Merge pull request #10021 from adobe/pflynn/improved-error-logs

Fix expected error string in unit test