diff --git a/Transacting:-EDN-test-format.md b/Transacting:-EDN-test-format.md index 9b594e4..f63e40a 100644 --- a/Transacting:-EDN-test-format.md +++ b/Transacting:-EDN-test-format.md @@ -13,8 +13,8 @@ and at least one of the following optional keys: | key | type | description | example | | --- | --- | --- | --- | -| `:test/expectedtransaction` | set | transacted datoms, w/ `added` | `#{[?tx1 :db/txInstant ?ms1 ?tx1 true]}` | -| `:test/expecteddatoms` | set | all datoms after bootstrap, w/o `:db/txInstant` datoms | `#{[E A V ?tx1]}` | +| `:test/expected-transaction` | set | transacted datoms, w/ `added` | `#{[?tx1 :db/txInstant ?ms1 ?tx1 true]}` | +| `:test/expected-datoms` | set | all datoms after bootstrap, w/o `:db/txInstant` datoms | `#{[E A V ?tx1]}` | ## Special values @@ -33,11 +33,11 @@ Therefore every expected transaction should include a datom like: :test/assertions [[:db/add 100 :db/ident :keyword/value1] [:db/add 101 :db/ident :keyword/value2]] - :test/expectedtransaction + :test/expected-transaction #{[100 :db/ident :keyword/value1 ?tx1 true] [101 :db/ident :keyword/value2 ?tx1 true] [?tx1 :db/txInstant ?ms1 ?tx1 true]} - :test/expecteddatoms + :test/expected-datoms #{[100 :db/ident :keyword/value1] [101 :db/ident :keyword/value2]}}] ``` \ No newline at end of file