Run UI tests only on nightly.

This commit is contained in:
Bodil Stokke 2019-04-08 17:20:56 +01:00
부모 66320b0bdb
커밋 a0cfd393e7
2개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@ -13,3 +13,4 @@ path = "main.rs"
compiletest_rs = { version = "0.3", features = ["stable"] }
typed-html = { path = "../typed-html" }
typed-html-macros = { path = "../macros" }
version_check = "0.1.5"

파일 보기

@ -1,5 +1,11 @@
#[test]
fn ui() {
extern crate version_check;
if !version_check::is_nightly().unwrap_or(false) {
return;
}
extern crate compiletest_rs as compiletest;
let mut config = compiletest::Config {