Skip to content

Commit f72989f

Browse files
committed
youtubeuploader: Use language-specific heredoc delimiters
1 parent dbd2319 commit f72989f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Formula/y/youtubeuploader.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def install
3636
assert_match version.to_s, shell_output("#{bin}/youtubeuploader -version")
3737

3838
# OAuth
39-
(testpath/"client_secrets.json").write <<~EOS
39+
(testpath/"client_secrets.json").write <<~JSON
4040
{
4141
"installed": {
4242
"client_id": "foo_client_id",
@@ -49,16 +49,16 @@ def install
4949
"token_uri": "https://accounts.google.com/o/oauth2/token"
5050
}
5151
}
52-
EOS
52+
JSON
5353

54-
(testpath/"request.token").write <<~EOS
54+
(testpath/"request.token").write <<~JSON
5555
{
5656
"access_token": "test",
5757
"token_type": "Bearer",
5858
"refresh_token": "test",
5959
"expiry": "2020-01-01T00:00:00.000000+00:00"
6060
}
61-
EOS
61+
JSON
6262

6363
output = shell_output("#{bin}/youtubeuploader -filename #{test_fixtures("test.m4a")} 2>&1", 1)
6464
assert_match 'oauth2: "invalid_client" "The OAuth client was not found."', output

0 commit comments

Comments
 (0)