Skip to content

Commit

Permalink
Don't suggest {list} in snippets (too generic regexp)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Nov 24, 2017
1 parent 4dba15f commit 201cc8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions features/bugs/1238.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Feature: 1238
Scenario: Test scenario
Given Alpha1
3 changes: 2 additions & 1 deletion features/lib/support/parameter_types.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ParameterType(
name: 'list',
regexp: /.*/,
transformer: ->(s) { s.split(/,\s+/)}
transformer: -> (s) { s.split(/,\s+/)},
use_for_snippets: false
)

0 comments on commit 201cc8c

Please sign in to comment.