Skip to content

Commit

Permalink
MBT timestamp fix (#602)
Browse files Browse the repository at this point in the history
* Revert "Fix for running MBT on Macs (#593)"

This reverts commit 416f514.

* fixes utc_command to work on both Mac and Unix
  • Loading branch information
Shivani912 authored Oct 1, 2020
1 parent 9817cc8 commit 1c13625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testgen/jsonatr-lib/apalache_to_lite_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"signed_header": "$ | block_to_signed_header",
"next_validator_set": "$ | block_next_validators | ids_to_validator_set",
"trusting_period": "1400000000000",
"now": "2020-09-25T08:18:04.996061145Z"
"now": "$utc_timestamp"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion testgen/jsonatr-lib/unix.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"name": "utc_timestamp",
"kind": "COMMAND",
"source": "date --utc +%FT%H:%M:%S.%NZ",
"source": "date -u +%FT%H:%M:%S.%sZ",
"stdin": false
},
{
Expand Down

0 comments on commit 1c13625

Please sign in to comment.