0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-28 16:21:04 -05:00
denoland-rusty-v8/tests/test_ui.rs
2020-06-26 01:42:00 +02:00

11 lines
267 B
Rust

use std::env;
#[test]
fn ui() {
// This environment variable tells build.rs that we're running trybuild tests,
// so it won't rebuild V8.
env::set_var("DENO_TRYBUILD", "1");
let t = trybuild::TestCases::new();
t.compile_fail("tests/compile_fail/*.rs");
}