drop FIXME comment for the typescheck import test and fix fmt issue
@@ -147,16 +147,12 @@ fn lists_operations() {
);
}
-// FIXME: these tests are boguous, because they transform the term before typechecking, which is
-// not the case in the actual evaluation pipeline. Currently, typechecking is done before program
-// transformation, and thus can't typecheck imported files, which is an issue that needs to be
-// solved before re-introducing these tests. See https://github.com/tweag/nickel/issues/316.
#[test]
fn imports() {
use nickel::cache::{resolvers::SimpleResolver, ImportResolver};
use nickel::error::ImportError;
- use nickel::transformations::resolve_imports;
use nickel::term::{make as mk_term, RichTerm};
+ use nickel::transformations::resolve_imports;
let mut resolver = SimpleResolver::new();
resolver.add_source(String::from("good"), String::from("1 + 1 : Num"));
