Skip to content

Commit 444e5e9

Browse files
committed
Add some dummy tests for Rust examples
1 parent 37126b6 commit 444e5e9

File tree

3 files changed

+21
-0
lines changed
  • examples
    • rust-flake-project-cross-compilation/tests
    • rust-flake-project-with-extra-dependency/tests
    • rust-flake-project/tests

3 files changed

+21
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn test() {
5+
assert_eq!(1 + 1, 2);
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn test() {
5+
assert_eq!(1 + 1, 2);
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn test() {
5+
assert_eq!(1 + 1, 2);
6+
}
7+
}

0 commit comments

Comments
 (0)