add another file to the integration test

This commit is contained in:
Jacob Kiesel 2024-09-29 01:27:47 -06:00
parent 0069649c3d
commit 4d9fa6fa77
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,4 @@
lib.d: lib.rs # checksum:blake3=5fd6328c93a3360bc580567aec10731ab3e5efc4a0f957b1bba0db0d27af3767 file_len:110 lib.d: lib.rs foo.rs # checksum:blake3=94af75ee4ed805434484c3de51c9025278e5c3ada2315e2592052e102168a503 file_len:120 checksum:blake3=2720e17bfda4f3b2a5c96bb61b7e76ed8ebe3359b34128c0e5d8032c090a4f1a file_len:119
lib.rs: lib.rs:
foo.rs:

View File

@ -0,0 +1,5 @@
// This is another file, just to prove we can handle two of them
pub fn subtract(a: i32, b: i32) -> i32 {
a - b
}

View File

@ -1,5 +1,7 @@
// A basic library to be used in tests with no real purpose. // A basic library to be used in tests with no real purpose.
mod foo;
pub fn sum(a: i32, b: i32) -> i32 { pub fn sum(a: i32, b: i32) -> i32 {
a + b a + b
} }