[fine] ConcreteTree -> SyntaxTree
This commit is contained in:
parent
7abb8eafc2
commit
120bd43652
2 changed files with 12 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use fine::parser::concrete::ConcreteTree;
|
||||
use fine::parser::concrete::SyntaxTree;
|
||||
use pretty_assertions::assert_eq;
|
||||
|
||||
fn rebase_concrete(source_path: &str, dump: &str) {
|
||||
|
|
@ -68,7 +68,7 @@ fn rebase_concrete(source_path: &str, dump: &str) {
|
|||
std::fs::write(source_path, result).expect("unable to write the new file!");
|
||||
}
|
||||
|
||||
fn assert_concrete(tree: &ConcreteTree, expected: &str, source_path: &str) {
|
||||
fn assert_concrete(tree: &SyntaxTree, expected: &str, source_path: &str) {
|
||||
let dump = tree.dump();
|
||||
let rebase = std::env::var("FINE_TEST_REBASE")
|
||||
.unwrap_or(String::new())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue