Skip to content

Commit

Permalink
Fix database tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dekkonot committed Dec 17, 2024
1 parent e5f8c05 commit 17128fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rbx_reflection_database/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ mod test {

#[test]
fn superclasses_iter_test() {
let database = get();
let database = get_bundled();
let part_class_descriptor = database.classes.get("Part");
let mut iter = database.superclasses_iter(part_class_descriptor.unwrap());
fn class_descriptor_eq(lhs: Option<&ClassDescriptor>, rhs: Option<&ClassDescriptor>) {
Expand All @@ -191,7 +191,7 @@ mod test {

#[test]
fn has_superclass_test() {
let database = get();
let database = get_bundled();
let part_class_descriptor = database.classes.get("Part").unwrap();
let instance_class_descriptor = database.classes.get("Instance").unwrap();
assert!(database.has_superclass(part_class_descriptor, instance_class_descriptor));
Expand Down

0 comments on commit 17128fe

Please sign in to comment.