mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Trim whitespace
This commit is contained in:
@@ -181,11 +181,11 @@ module Linguist
|
|||||||
def generated_net_designer_file?
|
def generated_net_designer_file?
|
||||||
name.downcase =~ /\.designer\.cs$/
|
name.downcase =~ /\.designer\.cs$/
|
||||||
end
|
end
|
||||||
|
|
||||||
# Internal: Is this a codegen file for Specflow feature file?
|
# Internal: Is this a codegen file for Specflow feature file?
|
||||||
#
|
#
|
||||||
# Visual Studio's SpecFlow extension generates *.feature.cs files
|
# Visual Studio's SpecFlow extension generates *.feature.cs files
|
||||||
# from *.feature files, they are not meant to be consumed by humans.
|
# from *.feature files, they are not meant to be consumed by humans.
|
||||||
# Let's hide them.
|
# Let's hide them.
|
||||||
#
|
#
|
||||||
# Returns true or false
|
# Returns true or false
|
||||||
@@ -250,7 +250,7 @@ module Linguist
|
|||||||
|
|
||||||
return lines[0].include?("Generated by the protocol buffer compiler. DO NOT EDIT!")
|
return lines[0].include?("Generated by the protocol buffer compiler. DO NOT EDIT!")
|
||||||
end
|
end
|
||||||
|
|
||||||
# Internal: Is the blob generated by Apache Thrift compiler?
|
# Internal: Is the blob generated by Apache Thrift compiler?
|
||||||
#
|
#
|
||||||
# Returns true or false
|
# Returns true or false
|
||||||
|
|||||||
@@ -473,7 +473,7 @@ class TestBlob < Minitest::Test
|
|||||||
# Sphinx docs
|
# Sphinx docs
|
||||||
assert sample_blob("docs/_build/asset.doc").vendored?
|
assert sample_blob("docs/_build/asset.doc").vendored?
|
||||||
assert sample_blob("docs/theme/file.css").vendored?
|
assert sample_blob("docs/theme/file.css").vendored?
|
||||||
|
|
||||||
# Vagrant
|
# Vagrant
|
||||||
assert sample_blob("puphpet/file.pp").vendored?
|
assert sample_blob("puphpet/file.pp").vendored?
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user