diff --git a/Formula/a/addlicense.rb b/Formula/a/addlicense.rb index a8bce16323a1..7dd512f8eda0 100644 --- a/Formula/a/addlicense.rb +++ b/Formula/a/addlicense.rb @@ -26,6 +26,6 @@ def install test do (testpath/"test.go").write("package main\\n") system bin/"addlicense", "-c", "Random LLC", testpath/"test.go" - assert_match "// Copyright 2025 Random LLC", (testpath/"test.go").read + assert_match "// Copyright #{Time.now.year} Random LLC", (testpath/"test.go").read end end