Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
f14e38de
Commit
f14e38de
authored
10 years ago
by
Jack Nagel
Browse files
Options
Downloads
Patches
Plain Diff
Commit test updates that were supposed to be part of b76e26c9cf1fc805663d86b6d6d081f91f73ea18
parent
d2d7516c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Library/Homebrew/test/test_patching.rb
+45
-12
45 additions, 12 deletions
Library/Homebrew/test/test_patching.rb
with
45 additions
and
12 deletions
Library/Homebrew/test/test_patching.rb
+
45
−
12
View file @
f14e38de
...
...
@@ -33,7 +33,10 @@ class PatchingTests < Homebrew::TestCase
def
patches
PATCH_URL_A
end
end
.
brew
{
assert_patched
'libexec/NOOP'
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
...
...
@@ -44,7 +47,10 @@ class PatchingTests < Homebrew::TestCase
url
PATCH_URL_A
sha1
"fa8af2e803892e523fdedc6b758117c45e5749a2"
end
end
.
brew
{
assert_patched
'libexec/NOOP'
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
...
...
@@ -55,7 +61,10 @@ class PatchingTests < Homebrew::TestCase
url
PATCH_URL_A
sha1
"fa8af2e803892e523fdedc6b758117c45e5749a2"
end
end
.
brew
{
assert_patched
'libexec/NOOP'
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
...
...
@@ -67,7 +76,7 @@ class PatchingTests < Homebrew::TestCase
url
PATCH_URL_A
sha1
"fa8af2e803892e523fdedc6b758117c45e5749a2"
end
end
.
brew
{
}
end
.
brew
(
&
:patch
)
end
end
end
...
...
@@ -79,7 +88,10 @@ class PatchingTests < Homebrew::TestCase
url
PATCH_URL_B
sha1
"3b54bd576f998ef6d6623705ee023b55062b9504"
end
end
.
brew
{
assert_patched
'libexec/NOOP'
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
...
...
@@ -89,7 +101,10 @@ class PatchingTests < Homebrew::TestCase
def
patches
{
:p0
=>
PATCH_URL_B
}
end
end
.
brew
{
assert_patched
'libexec/NOOP'
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
...
...
@@ -99,7 +114,10 @@ class PatchingTests < Homebrew::TestCase
def
patches
[
PATCH_URL_A
]
end
end
.
brew
{
assert_patched
'libexec/NOOP'
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
...
...
@@ -109,7 +127,10 @@ class PatchingTests < Homebrew::TestCase
def
patches
{
:p1
=>
PATCH_URL_A
}
end
end
.
brew
{
assert_patched
'libexec/NOOP'
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
...
...
@@ -119,7 +140,10 @@ class PatchingTests < Homebrew::TestCase
def
patches
{
:p1
=>
[
PATCH_URL_A
]
}
end
end
.
brew
{
assert_patched
'libexec/NOOP'
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
...
...
@@ -127,7 +151,10 @@ class PatchingTests < Homebrew::TestCase
shutup
do
formula
do
patch
PATCH_A_CONTENTS
end
.
brew
{
assert_patched
'libexec/NOOP'
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
...
...
@@ -135,7 +162,10 @@ class PatchingTests < Homebrew::TestCase
shutup
do
formula
do
patch
:p0
,
PATCH_B_CONTENTS
end
.
brew
{
assert_patched
'libexec/NOOP'
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
...
...
@@ -145,7 +175,10 @@ class PatchingTests < Homebrew::TestCase
def
patches
Formula
::
DATA
end
end
.
brew
{
assert_patched
"libexec/NOOP"
}
end
.
brew
do
|
f
|
f
.
patch
assert_patched
'libexec/NOOP'
end
end
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment