Skip to content

Commit

Permalink
Adds test case that covers PR #3818. (#5553)
Browse files Browse the repository at this point in the history
## Description

PR #3818 is no longer necessary and this PR proves that the test cases
added on in already pass on master without any additional change.

## Checklist

- [x] I have linked to any relevant issues.
- [x] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [x] I have added tests that prove my fix is effective or that my
feature works.
- [x] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [x] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [ ] I have requested a review from the relevant team or maintainers.
  • Loading branch information
esdrubal authored Feb 5, 2024
1 parent 491a07f commit 7f818a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ fn main() -> u64 {
assert(m.x == 12u64);
assert(m.y == 20u64);

// TODO(Esdrubal): reactivate this once fix in #3621 is merged
//test_ok_or(true, 0);
test_ok_or(0, true);
test_ok_or(true, 0);

42
}

0 comments on commit 7f818a0

Please sign in to comment.