Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Documentation: Remove last line from solidity-tests.md #155

Open
Paradox-AT opened this issue Jul 24, 2018 · 2 comments
Open

Documentation: Remove last line from solidity-tests.md #155

Paradox-AT opened this issue Jul 24, 2018 · 2 comments

Comments

@Paradox-AT
Copy link

Paradox-AT commented Jul 24, 2018

Remove the last line i.e.

"Note that Truffle sends Ether to your test contract in a way that does not execute a fallback function, so you can still use the fallback function within your Solidity tests for advanced test cases."

from https://github.com/trufflesuite/trufflesuite.com/blob/main/src/docs/truffle/testing/writing-tests-in-solidity.md?plain=1#L197

The fallback function is being called when ethers are sent to the contract.

Edit: update source link

@Paradox-AT Paradox-AT changed the title Remove last line from solidity-tests.md Documentation: Remove last line from solidity-tests.md Jul 24, 2018
@gnidan
Copy link
Contributor

gnidan commented Jun 26, 2020

Hm, if that's wrong, we certainly need to fix that in the docs! Thanks for bringing this to our attention. We'll figure out if the docs are still saying the wrong thing and make sure we correct the record.

@cds-amal
Copy link
Member

The documentation might need to clarify what's going on. (selfdestruct to bypass fallback function)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants