expectEnv function
Assert that an environment variable has a specific value.
Implementation
void expectEnv(String key, dynamic expectedValue) {
final actualValue = getEnv(key);
expect(
actualValue,
expectedValue,
reason: 'Expected env "$key" to be "$expectedValue" but was "$actualValue"',
);
}