Skip to content

Commit 94ae83f

Browse files
committed
test: update testSetForAllEnvironments to use uniqe env var name
This stops a race condition when running the whole test suite
1 parent 6574208 commit 94ae83f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/HummingbirdTests/EnvironmentTests.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ final class EnvironmentTests: XCTestCase {
4343

4444
func testSetForAllEnvironments() {
4545
var env = Environment()
46-
env.set("TEST_VAR", value: "testSet")
46+
env.set("TEST_VAR_E1", value: "testSet")
4747
let env2 = Environment()
48-
XCTAssertEqual(env2.get("TEST_VAR"), "testSet")
48+
XCTAssertEqual(env2.get("TEST_VAR_E1"), "testSet")
4949
}
5050

5151
func testLogLevel() {

0 commit comments

Comments
 (0)