Skip to content

Commit

Permalink
Fix hash syntax (#2586)
Browse files Browse the repository at this point in the history
Follow-up to Homebrew/brew#16848.

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters committed Mar 11, 2024
1 parent 875065d commit 98e78ab
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Formula/gz-gui7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-gui8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-gui9.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-launch6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-launch7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-launch8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-physics6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-physics7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-physics8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-rendering7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-rendering8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-rendering9.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-sim7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
}
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-sim8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
}
Expand Down
2 changes: 1 addition & 1 deletion Formula/gz-sim9.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
}
Expand Down
2 changes: 1 addition & 1 deletion Formula/ignition-gazebo6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
}
Expand Down
2 changes: 1 addition & 1 deletion Formula/ignition-gui6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/ignition-launch5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/ignition-physics5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/ignition-rendering6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/ogre2.2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/ogre2.3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def install
# print command and check return code
system cmd, *args
# check that library was loaded properly
_, stderr = system_command(cmd, args: args)
_, stderr = system_command(cmd, args:)
error_string = "Error while loading the library"
assert stderr.exclude?(error_string), error_string
end
Expand Down

0 comments on commit 98e78ab

Please sign in to comment.