mirror of
https://github.com/dtolnay/cargo-expand.git
synced 2025-04-04 05:17:37 +03:00
Compare cargo-expand output against expected in CI
This commit is contained in:
parent
70248ee051
commit
4ecd70bbf7
7 changed files with 35 additions and 2 deletions
8
tests/Cargo.toml
Normal file
8
tests/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
[package]
|
||||
name = "cargo-expand-test"
|
||||
version = "0.0.0"
|
||||
edition = "2018"
|
||||
publish = false
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
6
tests/lib.expand.rs
Normal file
6
tests/lib.expand.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
#![feature(prelude_import)]
|
||||
#[prelude_import]
|
||||
use std::prelude::v1::*;
|
||||
#[macro_use]
|
||||
extern crate std;
|
||||
pub fn test() {}
|
1
tests/lib.rs
Normal file
1
tests/lib.rs
Normal file
|
@ -0,0 +1 @@
|
|||
pub fn test() {}
|
Loading…
Add table
Add a link
Reference in a new issue