[fine] ConcreteTree -> SyntaxTree

This commit is contained in:
John Doty 2024-01-05 11:18:01 -08:00
parent 7abb8eafc2
commit 120bd43652
2 changed files with 12 additions and 12 deletions

View file

@ -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())