Skip to content

Commit

Permalink
Add additional file types to PowerShell spec
Browse files Browse the repository at this point in the history
This commit adds missing file types to the test for guessing.
All file types supported by Rouge are now tested for.
  • Loading branch information
michaeltlombardi committed Oct 20, 2017
1 parent 5e91fb8 commit d3d4d4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/lexers/powershell_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
it 'guesses by filename' do
assert_guess :filename => 'foo.ps1'
assert_guess :filename => 'foo.psm1'
assert_guess :filename => 'foo.psd1'
assert_guess :filename => 'foo.psrc'
assert_guess :filename => 'foo.pssc'
end

end
Expand Down

0 comments on commit d3d4d4e

Please sign in to comment.