Fix broken tests

This commit is contained in:
pca006132 2022-03-05 00:27:51 +08:00
parent a5e1da0b92
commit 63b0f29728
4 changed files with 16 additions and 0 deletions

View File

@ -70,6 +70,10 @@ impl SymbolResolver for Resolver {
fn get_string_id(&self, _: &str) -> i32 { fn get_string_id(&self, _: &str) -> i32 {
unimplemented!() unimplemented!()
} }
fn get_exception_id(&self, tyid: usize) -> usize {
unimplemented!()
}
} }
#[test] #[test]

View File

@ -71,6 +71,10 @@ impl SymbolResolver for Resolver {
fn get_string_id(&self, _: &str) -> i32 { fn get_string_id(&self, _: &str) -> i32 {
unimplemented!() unimplemented!()
} }
fn get_exception_id(&self, tyid: usize) -> usize {
unimplemented!()
}
} }
#[test_case( #[test_case(

View File

@ -50,6 +50,10 @@ impl SymbolResolver for Resolver {
fn get_string_id(&self, _: &str) -> i32 { fn get_string_id(&self, _: &str) -> i32 {
unimplemented!() unimplemented!()
} }
fn get_exception_id(&self, tyid: usize) -> usize {
unimplemented!()
}
} }
struct TestEnvironment { struct TestEnvironment {

View File

@ -75,4 +75,8 @@ impl SymbolResolver for Resolver {
id id
} }
} }
fn get_exception_id(&self, tyid: usize) -> usize {
unimplemented!()
}
} }