Permalink
Browse files

Upgrade to Cucumber 0.7.0.

Syntax change: We don't need \\" to match \" anymore. This is incompatible with 0.6.

Also, a possible bug causes cuke to pass the step keyword with a space. Let's just
remove that space.
  • Loading branch information...
1 parent df4311d commit ad38b3ea8304900dca8e306d9c7c4a94c4128d66 @antifuchs antifuchs committed May 2, 2010
Showing with 3 additions and 3 deletions.
  1. +2 −2 features/snippet_texts.feature
  2. +1 −1 server.lisp
@@ -33,14 +33,14 @@ Scenario: Suggestions for undefined steps with and without arguments
;; express the regexp above with the code you wish you had
(pending))
- When /^I use a step with "([^\\"]*)"$/ do |arg1|
+ When /^I use a step with "([^\"]*)"$/ do |arg1|
pending # express the regexp above with the code you wish you had
end
(When* #?{^I use a step with "([^"]*)"$} (group-0)
;; express the regexp above with the code you wish you had
(pending))
- Then /^the step "([^\\"]*)" should "([^\\"]*)"$/ do |arg1, arg2|
+ Then /^the step "([^\"]*)" should "([^\"]*)"$/ do |arg1, arg2|
pending # express the regexp above with the code you wish you had
end
(Then* #?{^the step "([^"]*)" should "([^"]*)"$} (group-0 group-1)
View
@@ -224,7 +224,7 @@
collect (format nil "group-~D" i))))
(format nil "(~A* #?~C^~A$~C (~{~A~^ ~})~% ~
;; express the regexp above with the code you wish you had~% ~
- (pending))" keyword *default-step-regex-delimiter*
+ (pending))" (string-trim '(#\Space) keyword) *default-step-regex-delimiter*
step-re *default-step-regex-close-delimiter*
group-vars)))))

0 comments on commit ad38b3e

Please sign in to comment.