mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
Fix module references.
This commit is contained in:
parent
0d0f66f9c7
commit
f4b5cf1b0c
@ -1201,7 +1201,7 @@ mod compile_test {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::{Builder, CallDef, MacroDef, SelectDef, Val};
|
use super::{Builder, CallDef, MacroDef, SelectDef, Val};
|
||||||
use ast::*;
|
use ast::tree::*;
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
|
||||||
fn test_expr_to_val(mut cases: Vec<(Expression, Val)>, b: Builder) {
|
fn test_expr_to_val(mut cases: Vec<(Expression, Val)>, b: Builder) {
|
||||||
|
@ -77,7 +77,7 @@ impl<V: Into<String> + Clone> Formatter<V> {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::Formatter;
|
use super::Formatter;
|
||||||
use ast::Position;
|
use ast::tree::Position;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_format_happy_path() {
|
fn test_format_happy_path() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user