You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-e: /Users/sswaroop/rubytest/step_implementations/step_implementation.rb:7: syntax error, unexpected '|', expecting keyword_end (SyntaxError)
|@@vowels|
^
/Users/sswaroop/rubytest/step_implementations/step_implementation.rb:41: syntax error, unexpected end-of-input, expecting keyword_end
[ValidationError] /Users/sswaroop/rubytest/specs/example.spec:12: Connection closed [[::1]:50844] cause: EOF => 'Vowels in English language are "aeiou".'
[ValidationError] /Users/sswaroop/rubytest/specs/example.spec:19: write tcp [::1]:50840->[::1]:50844: use of closed network connection => 'The word "gauge" has "3" vowels.'
[ValidationError] /Users/sswaroop/rubytest/specs/example.spec:29: write tcp [::1]:50840->[::1]:50844: use of closed network connection => 'Almost all words have vowels <table>'
Failed to start Gauge Ruby runner. exit status 1
Failed to initialize suite datastore. Error: write tcp [::1]:50840->[::1]:50844: use of closed network connection
Steps to replicate
Create a ruby project
Give the following implementation
@@vowels;
step 'Vowels in English language are <vowels>.' do |vowels|
@@vowels = Set.new [];
vowels.scan(/./).each do |vowel|
@@vowels.add(vowel)
|@@vowels|
end
end
Expected behavior
Should give me a warning
Actual behavior
Steps to replicate
Version
The text was updated successfully, but these errors were encountered: