diff options
| author | Andrea Kao | 2016-08-05 22:04:59 -0700 |
|---|---|---|
| committer | Martin Afanasjew | 2016-08-06 07:04:59 +0200 |
| commit | 8ec59253df47b9e597bc6a5ad488c42e035c0351 (patch) | |
| tree | 0dc4c88f1e17be8efe8ff3c7329ecc3d3aacdee3 /Library/Homebrew/test/test_patch.rb | |
| parent | d59f0f77a7513f85bb8f27dd81f2ee08a2ad7605 (diff) | |
| download | brew-8ec59253df47b9e597bc6a5ad488c42e035c0351.tar.bz2 | |
tests: fix code style issues (#587)
Diffstat (limited to 'Library/Homebrew/test/test_patch.rb')
| -rw-r--r-- | Library/Homebrew/test/test_patch.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_patch.rb b/Library/Homebrew/test/test_patch.rb index 3c6743ded..3b489b35c 100644 --- a/Library/Homebrew/test/test_patch.rb +++ b/Library/Homebrew/test/test_patch.rb @@ -21,13 +21,13 @@ class PatchTests < Homebrew::TestCase assert_equal :p1, patch.strip end - def test_create_DATA + def test_create_data patch = Patch.create(:p0, :DATA) assert_kind_of DATAPatch, patch assert_equal :p0, patch.strip end - def test_create_DATA_without_strip + def test_create_data_without_strip patch = Patch.create(:DATA, nil) assert_kind_of DATAPatch, patch assert_equal :p1, patch.strip @@ -112,7 +112,6 @@ end class ExternalPatchTests < Homebrew::TestCase def setup @p = ExternalPatch.new(:p1) { url "file:///my.patch" } - end def test_url |
