From 787eac8221c451bb98742184c7ad1c37f284e533 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 15 Jun 2019 13:56:52 +0300 Subject: Add: regexp bindings for jt --- jt.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/jt.yaml b/jt.yaml index fe51488..f33cd94 100644 --- a/jt.yaml +++ b/jt.yaml @@ -1 +1,10 @@ -[] +- given: a file (?P.+) +- when: I run (?Pjt .*) +- then: there is (?P\d+) draft +- then: there is (?P\d+) draft, with attachment (?P.+) +- then: there is (?P\d+) journal entry +- then: there is (?P\d+) journal entry, with attachment (?P.+) +- then: there is (?P\d+) journal entry, belonging to (?P.+) +- then: there is (?P\d+) topic, (?P.+), titled "(?P.+)" +- then: there are (?P<count>\d+) journal entries +- then: draft (?P<id>\d+) has title "(?P<title>.*)" -- cgit v1.2.1