You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The given test only passes if the logging of the result occurs (may not be limited to logging, could just be usage of the result in anyway), if the log call is commented out, the test fails
Steps
#[test(should_revert)]
fn math_u64_pow_overflow_should_revert() {
let _result = 2_u64.pow(64);
log(_result);
}
forc test
Possible Solution(s)
No response
Notes
No response
Installed components
forc 0.62.0
The text was updated successfully, but these errors were encountered:
SwayStar123
added
bug
Something isn't working
triage
This issue was opened with a template and needs to be triaged by code owners.
labels
Aug 1, 2024
Related Component
compiler
Problem
The given test only passes if the logging of the result occurs (may not be limited to logging, could just be usage of the result in anyway), if the log call is commented out, the test fails
Steps
forc test
Possible Solution(s)
No response
Notes
No response
Installed components
forc 0.62.0
The text was updated successfully, but these errors were encountered: