TESTS: Use EVAL as the file name for our compile test.

This commit is contained in:
Jeremy Wall 2018-06-04 22:24:38 -05:00
parent 5f0812b975
commit 3d7c70aa2a

View File

@ -2,7 +2,7 @@ use super::Builder;
use std; use std;
fn assert_build(input: &str) { fn assert_build(input: &str) {
let mut b = Builder::new(std::env::current_dir().unwrap()); let mut b = Builder::new("<Eval>");
b.enable_validate_mode(); b.enable_validate_mode();
b.eval_string(input).unwrap(); b.eval_string(input).unwrap();
if !b.assert_collector.success { if !b.assert_collector.success {