Fix tests

This commit is contained in:
Richard Feldman 2022-07-08 18:14:26 -04:00
parent 281f2d6842
commit f45e3dbb46
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
9 changed files with 27 additions and 40 deletions

View file

@ -73,12 +73,12 @@ fn promote_expr_to_module(src: &str) -> String {
fn compiles_to_ir(test_name: &str, src: &str) {
use bumpalo::Bump;
use std::path::{Path, PathBuf};
use std::path::PathBuf;
let arena = &Bump::new();
let filename = PathBuf::from("Test.roc");
let src_dir = Path::new("fake/test/path");
let src_dir = PathBuf::from("fake/test/path");
let module_src;
let temp;