1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-12-01 22:51:45 +02:00

Clean up tests

This commit is contained in:
mo8it
2024-07-25 15:12:14 +02:00
parent 3f49decce9
commit 8fec5155c7
21 changed files with 71 additions and 170 deletions

View File

@@ -0,0 +1,3 @@
fn main() {
let
}

View File

@@ -0,0 +1 @@
fn main() {}

View File

@@ -0,0 +1 @@
fn main() {}

View File

@@ -0,0 +1,9 @@
fn main() {}
#[cfg(test)]
mod tests {
#[test]
fn fails() {
asset!(false);
}
}

View File

@@ -0,0 +1,9 @@
fn main() {
println!("Output from `main` function");
}
#[cfg(test)]
mod tests {
#[test]
fn passes() {}
}