mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 19:28:01 +00:00
Move all compile-fail tests to ui tests
The update-references.sh script makes these much easier to update in bulk compared to compile-fail tests.
This commit is contained in:
@@ -11,10 +11,10 @@
|
||||
extern crate compiletest_rs as compiletest;
|
||||
|
||||
#[test]
|
||||
fn compile_fail() {
|
||||
fn ui() {
|
||||
let config = compiletest::Config {
|
||||
mode: compiletest::common::Mode::CompileFail,
|
||||
src_base: std::path::PathBuf::from("tests/compile-fail"),
|
||||
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()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user