mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
TESTS: Use EVAL as the file name for our compile test.
This commit is contained in:
parent
d9c9874788
commit
b306692627
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user