There was an error while loading. Please reload this page.
1 parent dee0cdd commit 6f32773Copy full SHA for 6f32773
3 files changed
.gitignore
@@ -1 +1,3 @@
1
node_modules/
2
+target/
3
+Cargo.lock
spec/fixtures/Cargo.toml Cargo.tomlspec/fixtures/Cargo.toml renamed to Cargo.toml
@@ -5,4 +5,10 @@ edition = "2018"
5
6
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
8
-[dependencies]
+[[bin]]
9
+name = "atom-ide-rust-test"
10
+path = "./spec/fixtures/src/main.rs"
11
+
12
+[lib]
13
+name = "atom_ide_rust_lib_test"
14
+path = "./spec/fixtures/lib/lib.rs"
spec/fixtures/lib/lib.rs
@@ -0,0 +1,7 @@
+#[cfg(test)]
+mod tests {
+ #[test]
4
+ fn it_works() {
+ assert_eq!(2 + 2, 4);
+ }
+}
0 commit comments