From fbf3a3e335442fa16c6a31dffc35a5bf8344a971 Mon Sep 17 00:00:00 2001 From: Mark Van de Vyver Date: Fri, 25 Mar 2022 15:13:53 +1100 Subject: [PATCH] Add: Test cases for issue 129 Signed-off-by: Mark Van de Vyver --- minitrace-macro/tests/expand/issues/129.expanded.rs | 4 ++++ minitrace-macro/tests/expand/issues/129.rs | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 minitrace-macro/tests/expand/issues/129.expanded.rs create mode 100644 minitrace-macro/tests/expand/issues/129.rs diff --git a/minitrace-macro/tests/expand/issues/129.expanded.rs b/minitrace-macro/tests/expand/issues/129.expanded.rs new file mode 100644 index 00000000..fd722621 --- /dev/null +++ b/minitrace-macro/tests/expand/issues/129.expanded.rs @@ -0,0 +1,4 @@ +#[trace] +async fn empty_async() {} +#[trace] +fn empty_sync() {} diff --git a/minitrace-macro/tests/expand/issues/129.rs b/minitrace-macro/tests/expand/issues/129.rs new file mode 100644 index 00000000..0c94ba6c --- /dev/null +++ b/minitrace-macro/tests/expand/issues/129.rs @@ -0,0 +1,5 @@ +#[trace] +async fn empty_async() {} + +#[trace] +fn empty_sync() {}