Skip to content

Commit

Permalink
mermaid-cli 8.8.3-2 (new formula)
Browse files Browse the repository at this point in the history
mermaid-cli 8.8.3-2 (new formula)

Fix indentation
  • Loading branch information
BastianZim committed Nov 27, 2020
1 parent e49623d commit c866b45
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Formula/mermaid-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ def install

test do
(testpath/"test.mmd").write <<~EOS
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
EOS
system "mmdc -i #{testpath}/test.mmd -o #{testpath}/out.svg"
system "mmdc", "-i", "#{testpath}/test.mmd", "-o", "#{testpath}/out.svg"

assert_predicate(testpath/"out.svg", :exist?)
end
Expand Down

0 comments on commit c866b45

Please sign in to comment.