Skip to content

Commit d6d6cfb

Browse files
authored
Update lexer_spec.rb
1 parent 81257a6 commit d6d6cfb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/unit/puppet-lint/lexer_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,6 +1396,12 @@
13961396
expect(token.type).to eq(:TYPE)
13971397
expect(token.value).to eq('Error')
13981398
end
1399+
1400+
it 'matches Binary type' do
1401+
token = lexer.tokenise('Binary').first
1402+
expect(token.type).to eq(:TYPE)
1403+
expect(token.value).to eq('Binary')
1404+
end
13991405
end
14001406

14011407
context ':HEREDOC without interpolation' do

0 commit comments

Comments
 (0)