tamer: sym::prefill::test::global_sanity_check: Note duplicate strings
I want to make it clear in the assertion that the problem could be caused by duplicate strings. We do not sort by string, because in part we may in the future want to group certain symbols together in some arbitrary way so we can compare ranges (using the markers). If that doesn't end up happening, it may be better to just sort by string to obviate the problem.main
parent
db8a098452
commit
96b16c6de9
|
@ -269,7 +269,8 @@ mod test {
|
|||
assert!(
|
||||
new.as_usize() > st::END_STATIC.as_usize(),
|
||||
"a new global symbol allocation was not > END_STATIC, \
|
||||
indicating that prefill is not working!"
|
||||
indicating that prefill is either not working or that \
|
||||
the prefill contains duplicate strings!"
|
||||
);
|
||||
|
||||
// Further sanity check to make sure indexes align as expected,
|
||||
|
|
Loading…
Reference in New Issue