Skip to content

Advanced Foundry - NFT section: MoodNftIntegrationTest #3375

Answered by EngrPips
0xsl0th asked this question in Q&A
Discussion options

You must be logged in to vote

with assertEq it shows that the generated hashes are different, some minor difference in the strings like whitespace somewhere could be causing this?

forge test --match-test testFlipTokenToSad                                                                                                                                                                                                                              ─╯
[⠊] Compiling...
No files changed, compilation skipped

Ran 1 test for test/integration/MoodNFTIntegrationTest.t.sol:MoodNFTIntegrationTest
[FAIL: assertion failed: 0x834bda914c34c1b791628ba825d8fbe0511e468a4179c34c4f0f7d0b4042493b != 0x4e73db9682db36036c72d6aca0b7c102f96b788ae8…

Replies: 6 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@EngrPips
Comment options

Comment options

You must be logged in to vote
1 reply
@EngrPips
Comment options

Comment options

You must be logged in to vote
1 reply
@EngrPips
Comment options

Comment options

You must be logged in to vote
1 reply
@EngrPips
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@EngrPips
Comment options

Answer selected by 0xsl0th
@0xsl0th
Comment options

@EngrPips
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants