commit | d2abd39239ef928732a23326a16d43b7721d1f17 | [log] [tgz] |
---|---|---|
author | Takeru Ohta <phjgt308@gmail.com> | Sat Oct 28 18:28:32 2017 +0900 |
committer | Takeru Ohta <phjgt308@gmail.com> | Sat Oct 28 18:28:32 2017 +0900 |
tree | dc844b57d7adf401bac81f6a6bbbdc55b5914fba | |
parent | 6b7d228d913cbf8cdc8941d4d340d101419f6577 [diff] |
Add a test case
diff --git a/test/passage_pd_tests.erl b/test/passage_pd_tests.erl index 0f6c068..1ef96bb 100644 --- a/test/passage_pd_tests.erl +++ b/test/passage_pd_tests.erl
@@ -164,6 +164,11 @@ ok = passage_pd:start_span(child, [{follows_from, RootSpan}]), ok = passage_pd:finish_span(), ?assertMatch([_Span], finished_spans()) + end}, + {"example module", + fun () -> + ok = start_test_tracer(), + passage_pd:with_span(example, fun () -> passage_example:hello(foo) end) end} ]}.