Skip to content

Commit 64f3760

Browse files
committed
Add missing fixtures for escript test
1 parent b9c1b22 commit 64f3760

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
defprotocol DepProto do
2+
def hello(x)
3+
end
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
defmodule DepProto.Mixfile do
2+
use Mix.Project
3+
4+
def project do
5+
[ app: :depproto,
6+
version: "0.1.0" ]
7+
end
8+
end
9+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
defmodule Escripttest do
2+
def main([protocol]) do
3+
IO.puts Protocol.consolidated?(Module.concat([protocol]))
4+
end
5+
end

0 commit comments

Comments
 (0)