Skip to content

Commit

Permalink
randomize-lines: style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nandahkrishna committed Jul 2, 2021
1 parent 520d467 commit 4cd724d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Formula/randomize-lines.rb
Expand Up @@ -28,6 +28,11 @@ def install
end

test do
system "echo", "-e", "\" ""1\n2\n4\" | \"#{bin}/rl\" -c 1"
(testpath/"test.txt").write <<~EOS
1
2
4
EOS
system "#{bin}/rl", "-c", "1", testpath/"test.txt"
end
end

0 comments on commit 4cd724d

Please sign in to comment.