mirror of
https://github.com/salsa-rs/salsa.git
synced 2024-12-24 12:58:37 +00:00
test reverse lookup after we have reused slots and the like
This commit is contained in:
parent
791ec3065c
commit
6cf1ffd24a
1 changed files with 4 additions and 0 deletions
|
@ -105,4 +105,8 @@ fn discard_outdated() {
|
|||
assert_ne!(foo_from_rev0, foo_from_rev1);
|
||||
assert_ne!(foo_from_rev1, bar_from_rev1);
|
||||
assert_ne!(foo_from_rev1, baz_from_rev1);
|
||||
|
||||
assert_eq!(db.lookup_intern_str(foo_from_rev1), "foo");
|
||||
assert_eq!(db.lookup_intern_str(bar_from_rev1), "bar");
|
||||
assert_eq!(db.lookup_intern_str(baz_from_rev1), "baz");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue