parent
f22e71f0ea
commit
d381e94a48
@ -1 +1,2 @@
|
||||
/pico-args-0.3.1.crate
|
||||
/pico-args-0.3.2.crate
|
||||
|
@ -1,41 +0,0 @@
|
||||
From 73eb2098180c460e24eeb575efc545bdc8efcf84 Mon Sep 17 00:00:00 2001
|
||||
From: Evgeniy Reizner <razrfalcon@gmail.com>
|
||||
Date: Thu, 20 Feb 2020 03:18:57 +0200
|
||||
Subject: [PATCH] Ignore debug related tests in release mode.
|
||||
|
||||
Closes #9
|
||||
---
|
||||
tests/tests.rs | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/tests/tests.rs b/tests/tests.rs
|
||||
index 3ce69640caf7..bc4004344d72 100644
|
||||
--- a/tests/tests.rs
|
||||
+++ b/tests/tests.rs
|
||||
@@ -49,6 +49,7 @@ fn invalid_flag_01() {
|
||||
assert!(args.contains("v"));
|
||||
}
|
||||
|
||||
+#[cfg(debug_assertions)]
|
||||
#[test]
|
||||
#[should_panic]
|
||||
fn invalid_flag_02() {
|
||||
@@ -56,6 +57,7 @@ fn invalid_flag_02() {
|
||||
assert!(args.contains(["v", "--version"]));
|
||||
}
|
||||
|
||||
+#[cfg(debug_assertions)]
|
||||
#[test]
|
||||
#[should_panic]
|
||||
fn invalid_flag_03() {
|
||||
@@ -63,6 +65,7 @@ fn invalid_flag_03() {
|
||||
assert!(args.contains(["-v", "-version"]));
|
||||
}
|
||||
|
||||
+#[cfg(debug_assertions)]
|
||||
#[test]
|
||||
#[should_panic]
|
||||
fn invalid_flag_04() {
|
||||
--
|
||||
2.24.1
|
||||
|
@ -1 +1 @@
|
||||
SHA512 (pico-args-0.3.1.crate) = a227cbe22bf8efe6fcdf5e8917d04c902ed31f0cdce3c431e1fef1c74f468daf2af599bb167036a0cc4c1a91a249d85068bab567de5f7cfbf2a1e1958c2b905d
|
||||
SHA512 (pico-args-0.3.2.crate) = 77ffd1c281dbd0f7615a99f54ace605819e5a90baf18ac93a6f545070a0095a4ffde4d78f60fe5bb2c47778ec80785ba5cec17c78a773f4ccda688756dd8b165
|
||||
|
Loading…
Reference in new issue