From 59fda9ec1cca2a9766e4d524509b8de53a564a7a Mon Sep 17 00:00:00 2001 From: Yoshihiro Imai Date: Tue, 29 Jan 2019 14:58:43 +0900 Subject: [PATCH] [issue-168] introduce a test using auto imported function --- test/blackbox-test/test-cases/auto_import.erl | 7 +++++++ test/blackbox-test/test-cases/auto_import.expected | 1 + 2 files changed, 8 insertions(+) create mode 100644 test/blackbox-test/test-cases/auto_import.erl create mode 100644 test/blackbox-test/test-cases/auto_import.expected diff --git a/test/blackbox-test/test-cases/auto_import.erl b/test/blackbox-test/test-cases/auto_import.erl new file mode 100644 index 00000000..74f30daa --- /dev/null +++ b/test/blackbox-test/test-cases/auto_import.erl @@ -0,0 +1,7 @@ +-module(auto_import). + +-export([foo/1]). + +-spec foo(number()) -> number(). +foo(X) -> + abs(X). diff --git a/test/blackbox-test/test-cases/auto_import.expected b/test/blackbox-test/test-cases/auto_import.expected new file mode 100644 index 00000000..d7831928 --- /dev/null +++ b/test/blackbox-test/test-cases/auto_import.expected @@ -0,0 +1 @@ +done (passed successfully)