Fix invalid bash in test (#899)
Fix invalid bash in test (#899)

This wasn't failing the test because declaring and assigning at the same
time hides return values.
bazelbuild/rules_apple,bazelbuild/rules_apple,bazelbuild/rules_apple,bazelbuild/rules_apple