mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
25 lines
787 B
Diff
25 lines
787 B
Diff
Fixes tests by making them timezone agnostic
|
|
Closes: https://bugs.gentoo.org/974522
|
|
From: https://github.com/str4d/rage/commit/dfb60a5c04df217daaceb1d7b74b2e13be7a621b
|
|
|
|
--- a/rage/tests/cmd/rage-keygen/gen-output.out/key.txt
|
|
+++ b/rage/tests/cmd/rage-keygen/gen-output.out/key.txt
|
|
@@ -1,3 +1,3 @@
|
|
-# created: 20[..]-[..]-[..]T[..]:[..]:[..]Z
|
|
+# created: 20[..]-[..]-[..]T[..]:[..]:[..]
|
|
# public key: age1[..]
|
|
-AGE-SECRET-KEY-1[..]
|
|
\ No newline at end of file
|
|
+AGE-SECRET-KEY-1[..]
|
|
--- a/rage/tests/cmd/rage-keygen/gen-stdout.toml
|
|
+++ b/rage/tests/cmd/rage-keygen/gen-stdout.toml
|
|
@@ -1,7 +1,7 @@
|
|
bin.name = "rage-keygen"
|
|
args = ""
|
|
stdout = """
|
|
-# created: 20[..]-[..]-[..]T[..]:[..]:[..]Z
|
|
+# created: 20[..]-[..]-[..]T[..]:[..]:[..]
|
|
# public key: age1[..]
|
|
AGE-SECRET-KEY-1[..]
|
|
"""
|