Skip to content

Commit

Permalink
test: fix string parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Aug 14, 2023
1 parent 443916c commit 1ee525e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/Utils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ abstract contract Utils is StdUtils, PRBMathUtils {

/// @dev Checks if the Foundry profile is "test-optimized".
function isTestOptimizedProfile() internal returns (bool) {
string memory profile = vm.envOr({ name: "FOUNDRY_PROFILE", defaultValue: "default" });
string memory profile = vm.envOr({ name: "FOUNDRY_PROFILE", defaultValue: string("default") });
return Strings.equal(profile, "test-optimized");
}
}

0 comments on commit 1ee525e

Please sign in to comment.