Skip to content

Commit

Permalink
Update lexer_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jay7x authored Dec 3, 2024
1 parent 81257a6 commit d6d6cfb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/unit/puppet-lint/lexer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,12 @@
expect(token.type).to eq(:TYPE)
expect(token.value).to eq('Error')
end

Check failure on line 1399 in spec/unit/puppet-lint/lexer_spec.rb

View workflow job for this annotation

GitHub Actions / spec (ruby 3.2) / spec

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)

Check failure on line 1399 in spec/unit/puppet-lint/lexer_spec.rb

View workflow job for this annotation

GitHub Actions / spec (ruby 2.7) / spec

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)

Check failure on line 1399 in spec/unit/puppet-lint/lexer_spec.rb

View workflow job for this annotation

GitHub Actions / spec (ruby 3.3) / spec

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
it 'matches Binary type' do
token = lexer.tokenise('Binary').first
expect(token.type).to eq(:TYPE)
expect(token.value).to eq('Binary')
end
end

context ':HEREDOC without interpolation' do
Expand Down

0 comments on commit d6d6cfb

Please sign in to comment.