From 363a39c26e3990df86dd047165616ac6471ca801 Mon Sep 17 00:00:00 2001 From: Xory Date: Mon, 10 Jun 2024 11:02:50 +0300 Subject: [PATCH] cleanup: move test files to their own directory --- .gitignore | 1 + meow.dec.text | 1 - meow.enc | 1 - meow.txt | 1 - src/main.rs | 4 ++-- 5 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 meow.dec.text delete mode 100644 meow.enc delete mode 100644 meow.txt diff --git a/.gitignore b/.gitignore index ea8c4bf..cd848f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +/testfiles diff --git a/meow.dec.text b/meow.dec.text deleted file mode 100644 index 8d06e96..0000000 --- a/meow.dec.text +++ /dev/null @@ -1 +0,0 @@ -cats would rule the world better than humans diff --git a/meow.enc b/meow.enc deleted file mode 100644 index 191d0b7..0000000 --- a/meow.enc +++ /dev/null @@ -1 +0,0 @@ - ޶NzN=)|چÔ'VPNzR洽 \ No newline at end of file diff --git a/meow.txt b/meow.txt deleted file mode 100644 index 8d06e96..0000000 --- a/meow.txt +++ /dev/null @@ -1 +0,0 @@ -cats would rule the world better than humans diff --git a/src/main.rs b/src/main.rs index 6cf96f1..763974c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,6 +3,6 @@ use crypto::{encrypt_file, decrypt_file}; fn main() { println!("Hello, world!"); - encrypt_file("meow.txt", "meow.enc").unwrap(); - decrypt_file("meow.enc", "meow.dec.text").unwrap(); + encrypt_file("testfiles/meow.txt", "testfiles/meow.enc").unwrap(); + decrypt_file("testfiles/meow.enc", "testfiles/meow.dec.text").unwrap(); }