gearman: fix style

master
Nanda H Krishna 2023-02-06 14:46:35 -05:00 committed by BrewTestBot
parent f1d8c5fb56
commit 558cb1c2c0
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Gearman < Formula
# https://bugs.launchpad.net/gearmand/+bug/1368926
Dir["tests/**/*.cc", "libtest/main.cc"].each do |test_file|
next unless /std::unique_ptr/.match?(File.read(test_file))
next unless File.read(test_file).include?("std::unique_ptr")
inreplace test_file, "std::unique_ptr", "std::auto_ptr"
end