-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve internal_indexer_test.rs and error it gives #15109
Conversation
⏱️ 1h 46m total CI duration on this PR
🚨 1 job on the last run was significantly faster/slower than expected
|
|
||
fn assert_vec_eq<T: Eq + Debug>(left: &[T], right: &[T]) { | ||
for i in 0..left.len().min(right.len()) { | ||
assert_eq!(left[i], right[i], "difference at position {}", i); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not print the item out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assert_eq will print them out itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm dumb.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1e46aa5
to
e06d788
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
Description
When changing something in the framework, that changes genesis (even new stdlib module), this test fails cryptically:
Changing it so that:
How Has This Been Tested?
unit tested on PRs changing genesis
Type of Change