diff --git a/test/functional/basic.rb b/test/functional/basic.rb index cc99e836..441eec0a 100644 --- a/test/functional/basic.rb +++ b/test/functional/basic.rb @@ -166,16 +166,16 @@ def test_supported_languages_should_include_languages def test_supported_languages_without_arguments_should_include_aliases_and_exclude_internals assert CodeRay.supported_languages.include?(:javascript) - refute CodeRay.supported_languages.include?(:debug) + assert !CodeRay.supported_languages.include?(:debug) end def test_supported_languages_with_arguments_should_include_aliases_and_exclude_internals assert CodeRay.supported_languages(true, false).include?(:javascript) - refute CodeRay.supported_languages(true, false).include?(:debug) + assert !CodeRay.supported_languages(true, false).include?(:debug) end def test_supported_languages_with_arguments_should_exclude_aliases_and_include_internals - refute CodeRay.supported_languages(false, true).include?(:javascript) + assert !CodeRay.supported_languages(false, true).include?(:javascript) assert CodeRay.supported_languages(false, true).include?(:debug) end @@ -185,8 +185,8 @@ def test_supported_languages_with_arguments_should_include_aliases_and_internals end def test_supported_languages_with_arguments_should_exclude_aliases_and_internals - refute CodeRay.supported_languages(false, false).include?(:javascript) - refute CodeRay.supported_languages(false, false).include?(:debug) + assert !CodeRay.supported_languages(false, false).include?(:javascript) + assert !CodeRay.supported_languages(false, false).include?(:debug) end def test_token_kinds