mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
fix a test
This commit is contained in:
parent
49eff224bc
commit
fbe3f359e2
1 changed files with 5 additions and 3 deletions
|
@ -1520,9 +1520,11 @@ mod tests {
|
|||
let mut triple = Triple::host();
|
||||
triple.binary_format = target_lexicon::BinaryFormat::Elf;
|
||||
|
||||
let symbols = collect_roc_undefined_symbols(&object, &triple);
|
||||
|
||||
let mut keys: Vec<_> = symbols.iter().filter_map(|s| s.name().ok()).collect();
|
||||
let mut keys: Vec<_> = object
|
||||
.dynamic_symbols()
|
||||
.filter(is_roc_undefined)
|
||||
.filter_map(|s| s.name().ok())
|
||||
.collect();
|
||||
keys.sort_unstable();
|
||||
|
||||
assert_eq!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue