Reworks test to make Coverity happy.
1 file changed