Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Oct 19, 2023
1 parent 15d1d04 commit 0e7bc25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ mod test {

assert_eq!(
result.get("/build/dev/erlang/gleam-wasm/_gleam_artefacts/main.erl"),
Some(&String::from("-module(main).\n-compile([no_auto_import, nowarn_unused_vars]).\n\n-export([main/0]).\n\n-spec main() -> nil.\nmain() ->\n some_library:function(<<\"Hello, world!\"/utf8>>).\n"))
Some(&String::from("-module(main).\n-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function]).\n\n-export([main/0]).\n\n-spec main() -> nil.\nmain() ->\n some_library:function(<<\"Hello, world!\"/utf8>>).\n"))
);
}
}

0 comments on commit 0e7bc25

Please sign in to comment.