Skip to content
Snippets Groups Projects
Commit 0db3763c authored by Arne Goedeke's avatar Arne Goedeke
Browse files

mapping: fixed test case

The recently added cleanup of weak mappings during rehash makes
adding entries to a weak mapping semantically similar to running gc().
Using this analogy, the testcase before this commit assumed that

  mapping a = set_weak_flag(([]), 1);
  a[17] = ({ 17 });
  gc();

results in a having one entry, which is clearly false.
parent 0320d1e3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment