mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-09-21 18:57:47 +03:00
fix renamed struct in test
This commit is contained in:
parent
a570a2a13e
commit
1fe4fd03a4
@ -16,7 +16,7 @@
|
||||
|
||||
pub mod symbol_table;
|
||||
|
||||
use leo_ast::{Input, LeoAst};
|
||||
use leo_ast::{Ast, Input};
|
||||
use leo_grammar::Grammar;
|
||||
use leo_symbol_table::{SymbolTable, SymbolTableError};
|
||||
|
||||
@ -27,7 +27,7 @@ const TEST_PROGRAM_PATH: &str = "";
|
||||
|
||||
/// A helper struct to test a `SymbolTable`.
|
||||
pub struct TestSymbolTable {
|
||||
ast: LeoAst,
|
||||
ast: Ast,
|
||||
}
|
||||
|
||||
impl TestSymbolTable {
|
||||
@ -45,7 +45,7 @@ impl TestSymbolTable {
|
||||
let grammar = Grammar::new(&file_path, &*file_string).unwrap();
|
||||
|
||||
// Get Leo syntax tree.
|
||||
let ast = LeoAst::new(TEST_PROGRAM_PATH, &grammar);
|
||||
let ast = Ast::new(TEST_PROGRAM_PATH, &grammar);
|
||||
|
||||
Self { ast }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user