mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-28 04:37:55 +00:00
16 lines
386 B
Rust
16 lines
386 B
Rust
#![cfg(feature = "compiletest")]
|
|
|
|
extern crate compiletest_rs as compiletest;
|
|
|
|
#[test]
|
|
fn ui() {
|
|
let config = compiletest::Config {
|
|
mode: compiletest::common::Mode::Ui,
|
|
src_base: std::path::PathBuf::from("tests/ui"),
|
|
target_rustcflags: Some("-L deps/target/debug/deps".to_owned()),
|
|
..Default::default()
|
|
};
|
|
|
|
compiletest::run_tests(&config);
|
|
}
|