Skip to content

Commit e4aabd0

Browse files
authored
urh: Use language-specific heredocs
1 parent a02450d commit e4aabd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/u/urh.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ def install
5050
end
5151

5252
test do
53-
(testpath/"test.py").write <<~EOS
53+
(testpath/"test.py").write <<~PYTHON
5454
from urh.util.GenericCRC import GenericCRC;
5555
c = GenericCRC();
5656
expected = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0]
5757
assert(expected == c.crc([0, 1, 0, 1, 1, 0, 1, 0]).tolist())
58-
EOS
58+
PYTHON
5959
system libexec/"bin/python3", "test.py"
6060

6161
# test command-line functionality

0 commit comments

Comments
 (0)