forked from mirrors/nixpkgs
64e550c31f
This seems to fail depending on the machine's configuration, probably something locale or timezone related.
17 lines
392 B
Diff
17 lines
392 B
Diff
diff --git a/tests/jq.test b/tests/jq.test
|
|
index 4a4018b..f5aa7d5 100644
|
|
--- a/src/tests/jq.test
|
|
+++ b/src/tests/jq.test
|
|
@@ -1144,9 +1144,9 @@ bsearch(4)
|
|
[1,2,3]
|
|
-4
|
|
|
|
-[strptime("%Y-%m-%dT%H:%M:%SZ")|(.,mktime)]
|
|
+[strptime("%Y-%m-%dT%H:%M:%SZ")|mktime]
|
|
"2015-03-05T23:51:47Z"
|
|
-[[2015,2,5,23,51,47,4,63],1425599507]
|
|
+[1425599507]
|
|
|
|
strftime("%Y-%m-%dT%H:%M:%SZ")
|
|
[2015,2,5,23,51,47,4,63]
|