fix: force LF line endings for SVG assets; fix remappings typo
CI / Foundry project (push) Has been cancelled
CI / Foundry project (push) Has been cancelled
- Add .gitattributes forcing eol=lf for img/*.svg so vm.readFile() base64 output is deterministic regardless of core.autocrlf / Windows checkout behavior. Fixes testFlipTokenToSad() failing with CRLF checked-out SVGs. - Correct 'remappping' -> 'remappings' in foundry.toml (was emitting a build warning).
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# Force LF line endings for asset files read by forge scripts (vm.readFile)
|
||||
# so the working tree always matches what's stored in git, regardless of
|
||||
# core.autocrlf / Windows checkout behavior.
|
||||
img/*.svg text eol=lf
|
||||
+1
-1
@@ -6,7 +6,7 @@ fs_permissions = [
|
||||
{ access = "read", path = "./img/" },
|
||||
{ access = "read", path = "./broadcast" },
|
||||
]
|
||||
remappping = ["@openzeppelin/contracts=lib/openzeppelin-contracts/contracts"]
|
||||
remappings = ["@openzeppelin/contracts=lib/openzeppelin-contracts/contracts"]
|
||||
ffi = true # For use of DevOpsTools import from lib/foundry-devops/src/DevOopsTools.sol
|
||||
|
||||
[etherscan]
|
||||
|
||||
Reference in New Issue
Block a user