File tree Expand file tree Collapse file tree 3 files changed +0
-22
lines changed
Expand file tree Collapse file tree 3 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,6 @@ defmodule ElixirScript.Compiler.Test do
66 assert is_binary ( result )
77 end
88
9- test "Use defined module with FFI module" do
10- result = ElixirScript.Compiler . compile ( Main )
11- assert is_binary ( result )
12- assert result =~ "import Data_JSON from './data/json'"
13- end
14-
159 test "Can compile multiple entry modules" do
1610 result = ElixirScript.Compiler . compile ( [ Atom , String , Agent ] )
1711 assert is_binary ( result )
@@ -52,12 +46,4 @@ defmodule ElixirScript.Compiler.Test do
5246 result = ElixirScript.Compiler . compile ( Atom , [ output: path ] )
5347 assert File . exists? ( path )
5448 end
55-
56- test "Output with FFI" do
57- path = System . tmp_dir ( )
58-
59- result = ElixirScript.Compiler . compile ( Main , [ output: path ] )
60- assert File . exists? ( Path . join ( [ path , "Elixir.App.js" ] ) )
61- assert File . exists? ( Path . join ( [ path , "data" , "json.js" ] ) )
62- end
6349end
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11defmodule Main do
22 def start ( :normal , [ callback ] ) do
33 callback . ( "started" )
4-
5- Data.JSON . stringify ( 1 )
64 end
75end
You can’t perform that action at this time.
0 commit comments