Permalink
Browse files

Fix tests

  • Loading branch information...
1 parent e0a04b9 commit 9d983b64b0e6fccfbc492e3d2531f5a7dd3b6a9b @josh josh committed Mar 28, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/test_language.rb
@@ -112,7 +112,7 @@ def test_find_by_alias
assert_equal Language['OpenEdge ABL'], Language.find_by_alias('progress')
assert_equal Language['OpenEdge ABL'], Language.find_by_alias('abl')
assert_equal Language['Parrot Internal Representation'], Language.find_by_alias('pir')
- assert_equal Language['Powershell'], Language.find_by_alias('posh')
+ assert_equal Language['PowerShell'], Language.find_by_alias('posh')
assert_equal Language['Puppet'], Language.find_by_alias('puppet')
assert_equal Language['Pure Data'], Language.find_by_alias('pure-data')
assert_equal Language['Raw token data'], Language.find_by_alias('raw')
@@ -196,7 +196,7 @@ def test_popular
def test_programming
assert_equal :programming, Language['JavaScript'].type
assert_equal :programming, Language['Perl'].type
- assert_equal :programming, Language['Powershell'].type
+ assert_equal :programming, Language['PowerShell'].type
assert_equal :programming, Language['Python'].type
assert_equal :programming, Language['Ruby'].type
end
@@ -249,8 +249,8 @@ def test_find_by_extension
assert_equal Language['PHP'], Language.find_by_extension('php3')
assert_equal Language['PHP'], Language.find_by_extension('php4')
assert_equal Language['PHP'], Language.find_by_extension('php5')
- assert_equal Language['Powershell'], Language.find_by_extension('psm1')
- assert_equal Language['Powershell'], Language.find_by_extension('ps1')
+ assert_equal Language['PowerShell'], Language.find_by_extension('psm1')
+ assert_equal Language['PowerShell'], Language.find_by_extension('ps1')
assert_nil Language.find_by_extension('.kt')
end

0 comments on commit 9d983b6

Please sign in to comment.